Creates a new database.
create database <database-url> [<user> <password> <storage-type> [<db-type>]]
Where:
<mode>:<path>
'> create database plocal:/usr/local/orient/databases/demo/demo
Creating database [plocal:/usr/local/orient/databases/demo/demo]...
Connecting to database [plocal:/usr/local/orient/databases/demo/demo]...OK
Database created successfully.
Current database is: plocal:/usr/local/orient/databases/demo/demo
> create database remote:localhost/trick root E30DD873203AAA245952278B4306D94E423CF91D569881B7CAD7D0B6D1A20CE9 plocal
Creating database [remote:localhost/trick ]...
Connecting to database [remote:localhost/trick ]...OK
Database created successfully.
Current database is: remote:localhost/trick
To create a static database to use it from the server look at: Server pre-configured storages.
This is a command of the Orient console. To know all the commands go to Console-Commands.