当我使用cmd连接到Cypher Shell时,我输入以下内容:
bin\cypher-shell -u neo4j
紧接着,我会被提示输入密码。我输入密码并连接到Cypher Shell。耶!
现在,如果我试图使用以下命令使用cmd连接到Cypher Shell:
bin\cypher-shell -u neo4j - p <password>
我犯了一个错误:
The client is unauthorized due to authentication failure
有人能给我解释一下为什么吗?
谢谢
发布于 2022-04-21 11:12:35
使用完整的连接字符串可以使用以下格式:
bin\cypher-shell -a <connection-URI>://<username>:<password>@<host><:port>
或
bin\cypher-shell -a <connection_uri> -u <username> -p <password>
例如:
bin\cypher-shell -a neo4j://neo4juser:neo4jpassword@127.0.0.1:7687
或
bin\cypher-shell -a neo4j://127.0.0.1:7687 -u neo4juser -p neo4jpassword
https://stackoverflow.com/questions/70175605
复制相似问题