0

For the code below how do I get the username and password. From enter link description here

var driver = neo4j.driver("bolt://localhost", neo4j.auth.basic("neo4j", "123456"));
var session = driver.session();

Is it my ID when I login?

enter image description here

or is it the database name and password?

enter image description here

I tried both ways still having trouble.

1
  • I think the default is neo4j:neo4j... login into web browser and it will ask you to change your password Commented Mar 25, 2018 at 19:24

2 Answers 2

1

It's the latter, but the database name doesn't play a part here.

The database name in this case is only for your own reference within the Neo4j Desktop app.

The default database user is neo4j, and the app forces you to choose the password when you create the database, so you should know the password.

Sign up to request clarification or add additional context in comments.

Comments

0

You can disable authentication. Just uncomment dbms.security.auth_enabled=false in config file. So you will not have problems with authentication. The default username and password are neo4j:neo4j

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.