Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Pause, resolving how to handle anonymous content

Neo4J initial password set not getting accepted in neo4j 4.1.9

Node Link

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



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


This must be the reason:
"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"

Node Link

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?