python无法连接neo4j
发布于 2 天前 作者 jiaosang 16 次浏览 来自 问答

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()

网页可访问,请高手指点

回到顶部