版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/chengyuqiang/article/details/102547999
图数据库排名 https://db-engines.com/en/ranking/graph+dbms
https://neo4j.com/download-center/#releases
[root@elastic1 opt]# tar -zxvf neo4j-community-3.5.11-unix.tar.gz
[root@elastic1 neo4j-community-3.5.11]# bin/neo4j start
Active database: graph.db
Directories in use:
home: /opt/neo4j-community-3.5.11
config: /opt/neo4j-community-3.5.11/conf
logs: /opt/neo4j-community-3.5.11/logs
plugins: /opt/neo4j-community-3.5.11/plugins
import: NOT SET
data: /opt/neo4j-community-3.5.11/data
certificates: /opt/neo4j-community-3.5.11/certificates
run: /opt/neo4j-community-3.5.11/run
Starting Neo4j.
Started neo4j (pid 25395). It is available at http://0.0.0.0:7474/
There may be a short delay until the server is ready.
See /opt/neo4j-community-3.5.11/logs/neo4j.log for current status.
[root@elastic1 neo4j-community-3.5.11]#
[root@elastic1 neo4j-community-3.5.11]# bin/neo4j status
Neo4j is running at pid 25395
[root@elastic1 neo4j-community-3.5.11]#
http://10.17.12.158:7474/browser/
(1)添加节点 创建一个Person节点,其有属性 name 和age
create(:Person{name:"Lee",age:18})
(2)查询一个节点
match(n:Person{name:"Lee"})return n