OrientDB Manual

Console - CONNECT

Opens a database using a URL.


connect <database-url> <user-name> <user-password>


  • database-url The url of the database to connect in the format <mode>:<path>
  • user The user name
  • user-password The user password

Example: connect to a local database

To connect to a local database loading it directly into the console.


> connect plocal:../databases/GratefulDeadConcerts admin admin

Example: Connect to a remote database

To connect to a local or remote database by using a Orient Server.


> connect remote: admin admin
> connect plocal:../databases/GratefulDeadConcerts admin

Connecting to database [plocal:../databases/GratefulDeadConcerts]...OK

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