LightRAG icon indicating copy to clipboard operation
LightRAG copied to clipboard

[Bug]: <title>This Neo4j instance does not support creating databases

Open YDS854394028 opened this issue 9 months ago • 5 comments

Do you need to file an issue?

  • [ ] I have searched the existing issues and this bug is not already filed.
  • [ ] I believe this is a legitimate bug, not just a question or feature request.

Describe the bug

This Neo4j instance does not support creating databases

Steps to reproduce

No response

Expected Behavior

No response

LightRAG Config Used

Paste your config here

Logs and screenshots

No response

Additional Information

  • LightRAG Version:
  • Operating System:
  • Python Version:
  • Related Issues:

YDS854394028 avatar Mar 02 '25 07:03 YDS854394028

Neo4j社区版不能创建新的数据库,只能有一个默认的数据库。

yaleimeng avatar Mar 03 '25 05:03 yaleimeng

Facing the same

ArindamRoy23 avatar Mar 04 '25 12:03 ArindamRoy23

Facing the same, it leads to "Sorry, I'm not able to provide an answer to that question.[no-context]", because lightrag cannot retrieve the data in the neo4j and cannot ask the query

Jeremy4455 avatar Mar 12 '25 13:03 Jeremy4455

Same but I was running into:

This Neo4j instance does not support creating databases. Try to use Neo4j Desktop/Enterprise version or DozerDB instead. Fallback to use the default database.

When i have a neo4j container running and have tested it with other graphs and that works

frederikhendrix avatar Mar 12 '25 15:03 frederikhendrix

As a workaround, you can put this part of code into yours. Then LightRAG will use the default database.

os.environ["NEO4J_DATABASE"] = "neo4j"

shmily1012 avatar Mar 29 '25 07:03 shmily1012

you can change the config of neo4j . set initial.dbms.default_database to chunk-entity-relation

hYuang avatar Apr 16 '25 07:04 hYuang