Skip to content

Feature Request: Document Steps to Create Database in ONgDB Enterprise #103

@bxbrenden

Description

@bxbrenden

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:

  1. Is the CREATE DATABASE command supported by ONgDB Enterprise?
  2. If so, how does it work?
  3. Is there any documentation related to CREATE DATABASE for ONgDB, Enterprise or otherwise?
  4. 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

  1. Pull the image: docker pull graphfoundation/ongdb:1.0.5
  2. 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
  3. Open the web UI in a browser by navigating to http://localhost:7474 and logging in with ongdb for the username and password.
  4. In the query editor at the top of the page, run :use system to use the system database.
  5. In the query editor, run CREATE DATABASE plzwork.
  6. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions