+3 votes
in Databases by (16.1k points)

I am trying to populate the neo4j database from JSON files using Python code. But, my code is giving the following error: cannot connect to any known routers.

There is nothing wrong with the username, password, or database address. How can I fix it?

1 Answer

+2 votes
by (51.1k points)
Most probably, the database you are trying to populate is offline. That's why your Python neo4j adaptor is throwing an error.

If you have access to the database, just start it, and hopefully, it will fix the issue.

...