blob: 5196e9ad92f22adb1287b83cfd4f8cf362bfd79a [file] [log] [blame]
Taufan Aditya44015c82012-04-04 19:38:16 +07001<?php
2
3return array(
4
5 // Typical Database configuration
6 'pdo/pgsql' => array(
Taufan Aditya55f80422012-04-05 01:48:52 +07007 'dsn' => 'pgsql:host=localhost;port=5432;dbname=ci_test;',
Taufan Aditya44015c82012-04-04 19:38:16 +07008 'hostname' => 'localhost',
9 'username' => 'postgres',
10 'password' => '',
11 'database' => 'ci_test',
12 'dbdriver' => 'pdo',
13 'pdodriver' => 'pgsql',
14 ),
15
16 // Database configuration with failover
17 'pdo/pgsql_failover' => array(
18 'dsn' => '',
19 'hostname' => 'localhost',
20 'username' => 'not_travis',
21 'password' => 'wrong password',
22 'database' => 'not_ci_test',
23 'dbdriver' => 'pdo',
24 'pdodriver' => 'pgsql',
25 'failover' => array(
26 array(
Taufan Aditya55f80422012-04-05 01:48:52 +070027 'dsn' => 'pgsql:host=localhost;port=5432;dbname=ci_test;',
Taufan Aditya44015c82012-04-04 19:38:16 +070028 'hostname' => 'localhost',
29 'username' => 'postgres',
30 'password' => '',
31 'database' => 'ci_test',
32 'dbdriver' => 'pdo',
33 'pdodriver' => 'pgsql',
34 ),
35 ),
36 ),
37);