+3 votes
in Databases by (40.5k 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 (351k points)
selected by
 
Best answer
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.

Related questions

+1 vote
1 answer
+1 vote
1 answer
asked Jul 13, 2023 in Databases by phpuser (56.8k points)

...