Skip to content
Advertisement

Error connecting python to neo4j using py2neo

I wrote the following python code to neo4j using py2neo

JavaScript

but i got the following error

JavaScript

can anyone please help me.This is the first time i writing python code to connect to neo4j.

Advertisement

Answer

If you’re using Neo4j 2.2, authentication for database servers is enabled by default. You need to authenticate before performing further operations. Read documentation.

JavaScript

From the same documentation,

Py2neo provides a command line tool to help with changing user passwords as well as checking whether a password change is required.

For a new installation, use:

JavaScript

After a password has been set, the tool can also be used to validate credentials

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement