CREATE OR REPLACE DATABASE myDatabase
(â ) Create a database named myDatabase. If a database with that name exists, then the existing database is deleted and a new one created.
STOP DATABASE myDatabase
(â ) Stop the database myDatabase.
START DATABASE myDatabase
(â ) Start the database myDatabase.
SHOW DATABASES
List all databases in the system and information about them.
SHOW DATABASES
YIELD name, currentStatus
WHERE name CONTAINS 'my' AND currentStatus = 'online'
List information about databases, filtered by name and online status and further refined by conditions on these.
SHOW DATABASE myDatabase
List information about the database myDatabase.
SHOW DEFAULT DATABASE
List information about the default database.
SHOW HOME DATABASE
List information about the current users home database.
DROP DATABASE myDatabase IF EXISTS
(â ) Delete the database myDatabase, if it exists.