Neo4j: Unsupported administration command: CREATE DATABASE demo

Viewed 1825

I want create new database 'demo' in neo4j, but I see a bug:

enter image description here

I was search but can't find result, can you help me? Thank all!

2 Answers

In the URL you used to install Neo4j, there is a remark about the community version of Neo4j and how it doesn't support multiple databases.

Note: The Community Edition of Neo4j supports running a single database at a time. Additionally, the Community version does not include the capability to assign roles and permissions to users so those steps are not included in this tutorial. For more information about various features that are supported by the Community Edition of Neo4j, consult the Neo4j Documentation here.

Go to the neo4j.conf file and uncomment this line

dbms.default_database=neo4j

after that add a new database name. then we can maintain new DB but we can't switch to old one, if we need to do that we have to comment above mentioned line again

Related