15

I just started to learn Neo4j.However, I come across a problem when connecting to Neo4j at the very beginning. As the image shown, it says "The client is unauthorized due to authentication failure." Any solutions?

My browser shows this

lokusking
  • 7,396
  • 13
  • 38
  • 57
Erin Li
  • 185
  • 1
  • 1
  • 6

2 Answers2

6

For the command line, there is same situation. Give username and pass as argument. Like:

-u neo4j -p neo4j
Paolo
  • 20,112
  • 21
  • 72
  • 113
Peter
  • 158
  • 1
  • 11
1

Since the accepted answer made no sense to me, here's my answer. Im using Neo4J Community Server 4.4.8 and when you download it, you get a folder that looks something like this

Neo4J Community Server Folder

Look into the Neo4J Community Server Folder/data and the folder looks like this and DELETE the inside of databases and transactions data folder

DELETE this in data/databases data/databases

DELETE this in data/transactions enter image description here

NOTES

  1. After you delete this the file in your databases will gone
  2. This is works if you're working in localhost
  3. After you delete all that, the neo4j in localhost:7474 will be reset with USERNAME = neo4j and PASSWORD = neo4j
Michael Halim
  • 262
  • 2
  • 20