PHP Classes
elePHPant
Icontem

File: tests/mocks/database/config/mysql.php

Recommend this page to a friend!
  Classes of Asad Ullah  >  PHP Google Authenticator with CodeIgniter  >  tests/mocks/database/config/mysql.php  >  Download  
File: tests/mocks/database/config/mysql.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Google Authenticator with CodeIgniter
2fa Google Authenticator implementation
Author: By
Last change:
Date: 1 year ago
Size: 656 bytes
 

 

Contents

Class file image Download
<?php

return array(

   
// Typical Database configuration
   
'mysql' => array(
       
'dsn' => '',
       
'hostname' => 'localhost',
       
'username' => 'travis',
       
'password' => '',
       
'database' => 'ci_test',
       
'dbdriver' => 'mysql'
   
),

   
// Database configuration with failover
   
'mysql_failover' => array(
       
'dsn' => '',
       
'hostname' => 'localhost',
       
'username' => 'not_travis',
       
'password' => 'wrong password',
       
'database' => 'not_ci_test',
       
'dbdriver' => 'mysql',
       
'failover' => array(
            array(
               
'dsn' => '',
               
'hostname' => 'localhost',
               
'username' => 'travis',
               
'password' => '',
               
'database' => 'ci_test',
               
'dbdriver' => 'mysql',
            )
        )
    )
);