在Ubuntu16.04.3桌面上,我刚刚卸载并重新安装了Neo4j。我还没开始呢。但当我试图设置初始密码时..。
sudo neo4j-admin set-initial-password 1234..。我得到了这个输出:
command failed: initial password was not set because live Neo4j-users were detected.这怎么可能呢?我能做些什么来设置初始密码?
发布于 2017-11-28 13:57:32
如果存在data/dbms/auth文件,则删除它;然后重新启动db。
在Ubuntu中,dir应该是/var/lib/neo4j/data/dbms/。
您还可以从这里检查文件位置:https://neo4j.com/docs/operations-manual/current/configuration/file-locations/
希望能帮上忙。
发布于 2018-02-14 07:41:48
我从Neo4J版本3.3.2切换到3.2.1,然后执行以下命令来更改密码:
curl -H "Content-Type: application/json" -X POST -d '{"password":"WHATEVER THE PASSWORD IS"}' -u neo4j:neo4j http://localhost:7474/user/neo4j/passwordhttps://stackoverflow.com/questions/47530154
复制相似问题