简体   繁体   中英

How to change path in neo4j

I installed neo4j on Ubuntu and I wrote a code in Java to add nodes. When I run the server, the default path in the Neo4j is "/var/lib/neo4j/data/graph.db", but I want change the path to "/home/user/Documents/neo4j/". How I change the default path?

您可以通过编辑conf/neo4j-server.properties并更新来更改默认数据库位置。
org.neo4j.server.database.location=data/graph.db

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM