Change data storing location in Neo4j in Ubuntu

假如想象 提交于 2019-12-07 07:42:52

问题


I have successfully installed neo4j with the port number 7474 and it works fine.

My problem is the data is stored into /var/lib/neo4j. This location in this directory is going to be full very soon. I want to change the data store location. How is this possible?

I have tried to edit the file /etc/neo4j/neo4j-server.properties in the line

org.neo4j.server.database.location=data/graph.db 

but it doesn't work.


回答1:


Try to use an absolute path for org.neo4j.server.database.location and make sure the directory is writable for the user running neo4j. An alternative is symlink your real graph.db folder to /var/lib/neo4j.



来源:https://stackoverflow.com/questions/24202024/change-data-storing-location-in-neo4j-in-ubuntu

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!