Skip to content

Database Configuration

Sumit Patil edited this page Jun 18, 2015 · 2 revisions

Open config/database.php make orientdb your default connection:

'default' => 'orientdb',

Add the connection defaults:

'connections' => [
    'orientdb' => [
        'driver' => 'orientdb',
        'host'   => 'localhost',
        'port'   => '2480',
        'database' => 'database_name',
        'username' => 'root',
        'password' => 'root'
    ]
]

Add your database username and password in 'username' and 'password' field. In 'database_name' add name of orientdb database which you want to connect and use.

Clone this wiki locally