$active_group = 'db1';
$query_builder = TRUE;
$db['db1'] = array(
'dsn' => '',
'hostname' => 'localhost:/var/run/mysqld/mysqld.sock',
'port' => '3306',
'username' => '***',
'password' => '***',
'database' => 'db',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => TRUE,
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'autoinit' => TRUE,
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
$db['db2'] = array(
'dsn' => '',
'hostname' => 'localhost:/var/run/mysqld/mysqld2.sock',
'port' => '3307',
'username' => '***',
'password' => '***',
'database' => 'db',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => TRUE,
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'autoinit' => TRUE,
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);