Skip to main content
Version: 2.10.1

Connect to Memgraph

Memgraph supports the openCypher query language which has been developed by Neo4j. It is a declarative language developed specifically for interaction with graph databases, which is currently going through a vendor-independent standardization process.

Cypher queries can be executed against Memgraph via:

  • Memgraph Lab - A lightweight and intuitive visual user interface that enables you to execute Cypher queries and visualize graph data.
  • mgconsole - A command-line interface for querying Memgraph.
  • Drivers
  • WebSocket

Secure Sockets Layer (SSL)

Secure connections are supported and disabled by default. The server initially ships with a self-signed testing certificate located at /etc/memgraph/ssl/. You can use it by changing the configuration and passing its path within the following parameters:

--bolt-cert-file=/etc/memgraph/ssl/cert.pem
--bolt-key-file=/etc/memgraph/ssl/key.pem

If you are using your own certificate be sure to enter the correct path to the certificate.

To disable SSL support and use insecure connections to the database erase or make comments out of both parameters (--bolt-cert-file and --bolt-key-file) by adding a hashtag in front of them.

Where to next?

You can also easily connect to an instance running in Memgraph Cloud. To learn more about the Cypher language, visit the Cypher manual or Memgraph Playground for interactive guides.