当我用 neo4j
和 neo4j
做 :server connect
时,我得到 Neo.ClientError.Security.Unauthorized: The client is unauthorized due to authentication failure.
.
我尝试取消注释 /etc/neo4j/neo4j.conf
中的 dbms.security.auth_enabled=false
行并重新启动,但它仍然要求我登录并仍然拒绝登录 .
我可以用 /usr/bin/cypher-shell -u neo4j -p neo4j
进入
我试过 /usr/bin/neo4j-admin set-initial-password secret
,但它说 command failed: The specified user 'neo4j' already exists.
我尝试 sudo rm /var/lib/neo4j/data/dbms/auth
并重新启动,但它给出了相同的结果 .
ubuntu 16.04
安装 sudo apt-get install neo4j=1:3.5.0