Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
04-08-2022 12:57 PM
My test environment is as below
version : community 4.35
OS : CentOS 7
I am currently using neo4j single db because of community version.
How to delete/create databases in Neo4j?
I know of course to delete relationships and nodes by cypher, but that can be too costly just for testing sometimes.
Is there a way to delete/create the DB without using cypher query?
I searched other communities and recommended the following method.
DB location on Linux machines = /var/lib/neo4j/data/databases
To delete existing db : rm -rf /database/graph.db
However I can't find the relevant file in my environment.
Thank you.
04-08-2022 05:34 PM
If you want to delete it and create it again for testing, you can use the drop and create database commands.
04-09-2022 06:36 AM
My test environment is community version that does not support the commands.
All the sessions of the conference are now available online