Neo4j: Default location of the database and configuration files.
- Krishnaraj Rajagopal
- Feb 13, 2018
- 1 min read
The default database name for neo4j is graph.db and it is located in the following directory
Ubuntu: /var/lib/neo4j/data/databases/
Windows: <neo4j-home>/data/databases/
The default configuration file is neo4j.conf and it located in the following directory
Ubuntu: /etc/neo4j
Windows: <neo4j-home>/conf/
Pointing neo4j server to a database other than default.
Follow the steps below.
1. Copy the other database to default database directory
2. Uncomment and update the following parameter in neo4j.conf to point to the new database.
#dbms.active.database=graph.db
to
dbms.active.database=<new database>.db
<new database> - the name of the database
Commentaires