1】进入容器
(base) xiaokkk@xiaokkkdeMacBook-Pro ~ % docker exec -it 77ed5fe2b52e /bin/bash
2】启动、停止neo4j
root@77ed5fe2b52e:/var/lib/neo4j/bin# ./neo4j start
Neo4j is already running (pid:7).
Run with '--verbose' for a more detailed error message.
root@77ed5fe2b52e:/var/lib/neo4j/bin# ./neo4j stop
Stopping Neo4j.......%
3】启动cypher-shell
root@77ed5fe2b52e:/var/lib/neo4j/bin# ./cypher-shell
查询需要加分号
4】退出ypher-shell文章来源:https://www.toymoban.com/news/detail-634237.html
输入’Ctrl+D’或者’:exit’ 都可行,而exit无效;文章来源地址https://www.toymoban.com/news/detail-634237.html
到了这里,关于neo4j终端操作的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!