我在https://github.com/neo4j/neo4j-python-driver上运行了两个环境的快速示例。 1. local linux =>效果很好 2.远程窗口=>似乎运行良好,但不创建graph.db。 什么'我错了? 我的调试登录远程窗口:
cd /D %lua_build_dir%
答案 0 :(得分:0)
如果我改为driver = GraphDatabase.driver(" bolt:// localhost:7687",auth =(" neo4j","密码"))来自driver = GraphDatabase.driver(" bolt://192.168.1.90:7687",auth =(" neo4j","密码")),然后它的工作原理好。谁能解释为什么?
调试日志已更改为
2018-03-09 12:55:47,944 ~~ [CONNECT] ('::1', 7687, 0, 0)
2018-03-09 12:55:47,945 ~~ [SECURE] ::1
2018-03-09 12:55:47,951 C: [HANDSHAKE] 0x6060B017 [1, 0, 0, 0]
2018-03-09 12:55:47,953 S: [HANDSHAKE] 1
FROM
2018-03-09 12:40:56,212 ~~ [CONNECT] ('192.168.1.90', 7687)
2018-03-09 12:40:56,213 ~~ [SECURE] 192.168.1.90
018-03-09 12:40:56,221 C: [HANDSHAKE] 0x6060B017 [1, 0, 0, 0]
2018-03-09 12:40:56,224 S: [HANDSHAKE] 1