Change Data Warehouse in Neo4j on Ubuntu

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

My problem is that the data is stored in /var/lib/neo4j. This place in this catalog will be full soon. I want to change the location of the data warehouse. How is this possible?

I tried to edit the file /etc/neo4j/neo4j-server.propertiesin a line

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

but that will not work.

+4
source share
1 answer

Try using the absolute path for org.neo4j.server.database.locationand make sure that the directory is writable by the user working with neo4j. An alternative is to link to your real folder graph.dbon /var/lib/neo4j.

+6
source

Source: https://habr.com/ru/post/1544445/


All Articles