Commit 796ca736 by 赵宇

fix

parent 39771d1f
...@@ -2,8 +2,8 @@ from py2neo import Graph ...@@ -2,8 +2,8 @@ from py2neo import Graph
def conn_neo4j(): def conn_neo4j():
graph = Graph("http://localhost:7474", username="neo4j", password="123456") # 本地neo4j # graph = Graph("http://localhost:7474", username="neo4j", password="123456") # 本地neo4j
# graph = Graph("http://localhost:7476", username="neo4j", password="123456") # 上传到50服务器前需更改 graph = Graph("http://localhost:7476", username="neo4j", password="123456") # 上传到50服务器前需更改
# graph = Graph("http://39.100.39.50:7476/", username="neo4j", password="123456") # 测试50服务器上的neo4j时使用 # graph = Graph("http://39.100.39.50:7476/", username="neo4j", password="123456") # 测试50服务器上的neo4j时使用
return graph return graph
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment