Console Command Create Db - aemadrid/orientdb GitHub Wiki

Console command: create database

Create database

Create a new database.

Syntax

{{{create database [Where:

  • database-url The url of the database to create in the format '<mode>:<path>'
  • user with local database is the database's user name, in remote database is the Server's administrator name
  • password with local database is the server's password, in remote database is the Server's administrator password
  • storage-type The type of the storage between 'local' for disk-based database and 'memory' for in memory only database.
  • db-type Optional, is the database type between "document" (the default) and "graph"

Example: create a local database

5d2c27960387cee3dc6b906a057ef5d3

Example: create a remote database

581f7b52f230894640b1ccc687d63c86

Create a static database into the server configuration

To create a static database to use it from the server look at: [http://code.google.com/p/orient/wiki/DBServer#Storages Server configuration storages](]}}}).

This is a command of the Orient console. To know all the commands go to Console-Commands.

⚠️ **GitHub.com Fallback** ⚠️