I renamed the existing example database from Movies RDBM
to Movies
and changed the password to pwd.
from py2neo import Graph
db=Graph("neo4j://neo4j:pwd@localhost:7687", name="Movies" )
No errors for the above
db.run("MATCH (n:Movie) RETURN n").to_table()
The above fails with ServiceUnavailable: Cannot connect to any known routers
what am I doing wrong?
I was using WSL and Jupyter Notebooks but Neo4j was running in Windows so 127.0.0.1 was pointing to the WSL loopback and there was nothing there to receive the API calls
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.