blob: c68b4b213d017061d7aa3adf8aa8c492bbf3f96a [file] [log] [blame]
<?php
return array(
// Typical Database configuration
'pdo/sqlite' => array(
'dsn' => 'sqlite:/'.realpath(__DIR__.'/../..').'/ci_test.sqlite',
'hostname' => 'localhost',
'username' => 'sqlite',
'password' => 'sqlite',
'database' => 'sqlite',
'dbdriver' => 'pdo',
'pdodriver' => 'sqlite',
),
// Database configuration with failover
'pdo/sqlite_failover' => array(
'dsn' => 'sqlite:not_exists.sqlite',
'hostname' => 'localhost',
'username' => 'sqlite',
'password' => 'sqlite',
'database' => 'sqlite',
'dbdriver' => 'pdo',
'pdodriver' => 'sqlite',
'failover' => array(
array(
'dsn' => 'sqlite:/'.realpath(__DIR__.'/../..').'/ci_test.sqlite',
'hostname' => 'localhost',
'username' => 'sqlite',
'password' => 'sqlite',
'database' => 'sqlite',
'dbdriver' => 'pdo',
'pdodriver' => 'sqlite',
),
),
),
);