https://blog.csdn.net/lifestxx/article/details/84788380
linux环境下
到neo4j安装的目录,bin目录下
执行./neo4j start 启动
执行./neo4j status 查看neo4j状态
./neo4j-shell -path /opt/neo4j-community-3.4.10/
建议使用cypher-shell
./cypher-shell
username: neo4j
默认密码neo4j
password: *****
Connected to Neo4j 3.4.10 at bolt://localhost:7687 as user neo4j.
Type :help for a list of available commands or :exit to exit the shell.
Note that Cypher queries must end with a semicolon.
neo4j>
需要修改密码
CALL dbms.changePassword('test')
neo4j> match (n) return n;
0 rows available after 10 ms, consumed after another 1 ms
neo4j> create (p:Person {name:'zhangsan'}) return p;
+------------------------------+
| p |
+------------------------------+
| (:Person {name: "zhangsan"}) |
+------------------------------+
1 row available after 172 ms, consumed after another 0 ms
Added 1 nodes, Set 1 properties, Added 1 labels
————————————————