标签:
$db[‘default‘] = array( ‘dsn‘ => ‘mysql:dbname=hejun;host=192.168.137.127‘, //‘hostname‘ => ‘‘, ‘username‘ => ‘mysqluser‘, ‘password‘ => ‘whj123‘, //‘database‘ => ‘hejun‘,
‘dbdriver‘ => ‘pdo‘, //改为pdo ‘dbprefix‘ => ‘‘, ‘pconnect‘ => FALSE, ‘db_debug‘ => (ENVIRONMENT !== ‘production‘), ‘cache_on‘ => FALSE, ‘cachedir‘ => ‘‘, ‘char_set‘ => ‘utf8‘, ‘dbcollat‘ => ‘utf8_general_ci‘, ‘swap_pre‘ => ‘‘, ‘encrypt‘ => FALSE, ‘compress‘ => FALSE, ‘stricton‘ => FALSE, ‘failover‘ => array(), ‘save_queries‘ => TRUE );
标签:
原文地址:http://www.cnblogs.com/hejun695/p/5395429.html