0

I am using Memgraph 2.1.1 and I am wondering if there's any way to set the password for my non-enterprise instance?

KateLatte
  • 611
  • 1
  • 12

1 Answers1

1

Basic authentication is supported in the non-enterprise version. You should be able to create a password-protected user with the following query:

CREATE USER user_name [IDENTIFIED BY 'password'];

For example:

CREATE USER my_user IDENTIFIED BY '123456';

When you create the first user, it won't be possible to connect to the instance without valid credentials.

Ivan Despot
  • 291
  • 3
  • 7