Forgot Neo4j Server Password -
because this question never answered, hoping me reset password connect neo4j password (at localhost:7474). zachary wrote post on solving restarting service using:
sudo service neo4j-service restart
but did not find helpful. in terminal, ran bin/neo4j restart (which think equivalent command), , not able reset password.
depending on environment , installation type need file named auth under directory dbms , remove it.
in macos, dmg installations (adjust custom locations):
/users/xyz/documents/neo4j/default.graphdb/dbms/auth
or (homebrew install)
/usr/local/cellar/neo4j/x.x.x/libexec/data/dbms/auth
windows users should same file in default.graphdb/dbms directory.
in ubuntu
/var/lib/neo4j/data/dbms/auth
alternatively, might choose disable auth in configuration file, found in
macos:
/users/xyz/documents/neo4j/.neo4j.conf
or
/usr/local/cellar/neo4j/x.x.x/libexec/conf
and set property false
dbms.security.auth_enabled=false
after doing this, need restart server changes make effect, asked new password.
Comments
Post a Comment