We would to create user, run query through mgconsole non-interactively
Steps to reproduce
mgconsole “show users ;” so we can see the users
(Write your steps here:)
Step 1: mgconsole
Step 2: show users
Step 3 and 2 works , how can i send this in one single command (mgconsole in non-interactive mode)
Expected behavior
I can do this
cat test.txt
show users ;
root@90bdd537ae1a:/usr/lib/memgraph# mgconsole --username=username --password=password < test.txt
±---------+
| user |
±---------+
| “user” |
±---------+
(Write what you thought would happen.)
Actual behavior
(Write what happened. Add full console log messages and screenshots, if applicable.)
Your environment
Memgraph version used
Operating system and version (e.g., Ubuntu 20.04.2 LTS)