When Memgraph is running, cypher queries are imported by running
mgconsole in non-interactive mode.
The user can import queries saved in e.g.
queries.cypherl by issuing the
following shell command:
mgconsole < queries.cypherl
If you installed the Memgraph image using Docker, you will need to run the client using the following command:
docker run -i --entrypoint=mgconsole memgraph/memgraph-platform --host HOST < queries.cypherl
Remember to replace
HOST with valid IP of the container (see Note for Docker
For more information about
mgconsole options run: