Files
DEV/SAE2.02_Application_WEB/tests/mocks/database/config/mysql.php

34 lines
668 B
PHP
Raw Normal View History

<?php
return array(
// Typical Database configuration
'mysql' => array(
'dsn' => '',
'hostname' => '127.0.0.1',
'username' => 'travis',
'password' => 'travis',
'database' => 'ci_test',
'dbdriver' => 'mysql'
),
// Database configuration with failover
'mysql_failover' => array(
'dsn' => '',
'hostname' => '127.0.0.1',
'username' => 'not_travis',
'password' => 'wrong password',
'database' => 'not_ci_test',
'dbdriver' => 'mysql',
'failover' => array(
array(
'dsn' => '',
'hostname' => '127.0.0.1',
'username' => 'travis',
'password' => 'travis',
'database' => 'ci_test',
'dbdriver' => 'mysql',
)
)
)
);