Reputation: 433
I am new to Neo4j and wondering how to import a stand alone database located at different path in Neo4j.
Thanks in advance!
Upvotes: 2
Views: 377
Reputation: 4052
You need to copy your database inside $NEO4J_HOME/data/databases
directory of your database.
Rename your database name to graph.db
because By default graph.db
is the active database in Neo4j.
If your database name is different from graph.db
, You need to change neo4j.conf
file. You can uncomment and change the active database name on the following line.
#dbms.active_database=graph.db
like
dbms.active_database=twitter-trolls.db
If you are using Neo4j desktop.
You can change these setting under settings tab as shown in the following image. You can find $NEO4J_HOME
by clicking the Open Folder
button.
Upvotes: 2