blob: cefb6b008fb9505150db16996e9beb6b4a155ae8 [file] [log] [blame]
Taufan Aditya44015c82012-04-04 19:38:16 +07001<?php
2
3return array(
4
5 // Typical Database configuration
6 'pdo/mysql' => array(
7 'dsn' => '',
8 'hostname' => 'localhost',
9 'username' => 'travis',
10 'password' => '',
11 'database' => 'ci_test',
12 'dbdriver' => 'pdo',
13 'pdodriver' => 'mysql',
14 ),
15
16 // Database configuration with failover
17 'pdo/mysql_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' => 'mysql',
25 'failover' => array(
26 array(
27 'dsn' => '',
28 'hostname' => 'localhost',
29 'username' => 'travis',
30 'password' => '',
31 'database' => 'ci_test',
32 'dbdriver' => 'pdo',
33 'pdodriver' => 'mysql',
34 ),
35 ),
36 ),
37);