Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-21-2021 07:55 AM
I have the community container up and running. I cannot figure out how to programmatically create a new database. Looking at the Driver class I see nothing about creating a new database.
I found examples for embedded database, but a pathname for the new database. Do I go this route and simply use same store dir as the neo4j home data env location?
Or, is Cypher the best approach?
05-22-2021 09:36 AM
Community can only have the default database (neo4j) and system. You can't create another database.
Assuming java....
The driver docs tell you how to connect to the database.
You also want to look here The Neo4j Java Developer Reference v4.2 - Neo4j Java Reference
and..
The docs here can show you how to do create/drop, etc. ClusterDatabaseManagementService (Neo4j 4.2.6 API)
05-24-2021 05:14 AM
Thanks. I will proceed accordingly.
All the sessions of the conference are now available online