python无法连接neo4j
发布于 6 年前 作者 jiaosang 6531 次浏览 来自 问答

python无法连接neo4j,总说权限问题 neo4j.exceptions.AuthError: The client is unauthorized due to authentication failure. 代码如下: from neo4j.v1 import GraphDatabase,basic_auth driver = GraphDatabase.driver(“bolt://localhost”, auth=basic_auth(“neo4j”, “neo4j”)) session = driver.session() insert_query="match (n) return n" session.run(insert_query) session.close()

网页可访问,请高手指点

2 回复

连l接地应该是bolt://localhost:7687

密码确认正确,感觉是密码问题呢

回到顶部