CREATE DATABASE
Previous  Next


CREATE DATABASE database_name

database_name can also contain the trailing slash '/', but its usage is deprecated in SQL queries.

This statement will cause the creation of a directory named database_name in the $GLADIUS_DB_ROOT location (or in the current directory if the variable was not set); if the user has not rights to perform such operation, an error will be generated. The newly created database is not automatically selected.

Gladius database directories, once created, will contain the file gladius.db.index which indexes all the tables present in the database.