neo4j终端操作

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

查询需要加分号 

neo4j终端操作_第1张图片

 4】退出ypher-shell

输入’Ctrl+D’或者’:exit’ 都可行,而exit无效;

你可能感兴趣的:(Neo4J,neo4j)