cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Neo4J initial password set not getting accepted in neo4j 4.1.9

We are having trouble in using the password we set as part of neo4j initilisation.

We are on Neo4j 4.1.9 and trying to setup initial password using neo4j-admin set-initial-password, which was successful and even auth.ini reflacts that as now I have a user named neo4j there, which wasn't there before running this command.

But when we try to login using the set password it's giving error(there's no chance of typing the password wrong as it was simply copied from command used for setting the password)
The client is unauthorized due to authentication failure.

Screenshot for setting password and trying login with cypher-shell

Screenshot for content for auth.ini file

3 REPLIES 3

This is a real issue (enterprise v3.5.5). How come is still unanswered?

This must be the reason:
https://neo4j.com/docs/operations-manual/3.5/configuration/set-initial-password/
"This must be performed before starting up the database for the first time."


If installing from a debian package, it will probably start automatically. To avoid that, mask the service beforehand:
"sudo systemctl mask neo4j"
 

Thanks @jfragoulis, I think that's the issue as we are creating neo4j instance from a GCP compute. But I find it strange even the combination of default password neo4j isn't working as in case what am setting doesn't work then then the default one should have worked, no?