-
Notifications
You must be signed in to change notification settings - Fork 63
Description
Description
Since ONgDB is a fork of Neo4j, I figured that ONgDB Enterprise might be targeting feature parity with Neo4j Enterprise. One of the features of Neo4j Enterprise is the ability to create a new database besides the two default DBs (system and neo4j) by running :use system followed by CREATE DATABASE foo;.
I tried this with ONgDB version 1.0.5, and I got the same error that Neo4j community would give:
$ :use system
$ CREATE DATABASE plzwork
ERROR Neo.ClientError.Statement.UnsupportedAdministrationCommand
Unsupported administration command: EXPLAIN CREATE DATABASE plzwork
I tried finding examples in the ONgDB documentation and this GitHub repository but I wasn't able to find any.
I understand that we're supposed to ask questions like this in StackOverflow, but I see there already is one asking about database creation that remains unanswered after 11 months.
So, I thought I might phrase my questions as a feature request to justify asking them in GH Issues. My questions are:
- Is the
CREATE DATABASEcommand supported by ONgDB Enterprise? - If so, how does it work?
- Is there any documentation related to
CREATE DATABASEfor ONgDB, Enterprise or otherwise? - If not, would you be willing to add some? I would be happy to help with this part however I can.
System Info
- ONgDB version: 1.0.5
- Host operating system: Ubuntu 22.04.3 LTS (Jammy Jellyfish)
- Container operating system: Debian GNU/Linux 11 (bullseye)
- API/Driver: unsure, running from official image built from this Dockerfile and using the browser-based IDE (the ONgDB equavalent of Neo4j Browser).
Steps to reproduce
- Pull the image:
docker pull graphfoundation/ongdb:1.0.5 - Start a new container that mounts to this directory:
docker run -d --name ongdb-test -p 7474:7474 -v /home/ongdb:/data graphfoundation/ongdb:1.0.5 - Open the web UI in a browser by navigating to
http://localhost:7474and logging in withongdbfor the username and password. - In the query editor at the top of the page, run
:use systemto use thesystemdatabase. - In the query editor, run
CREATE DATABASE plzwork. - The error will appear as described above.
Expected behavior
A new database is created alongside the system and neo4j databases.
Actual behavior
An error is thrown which indicates this is an unsupported administration command.