$db_cfg = array (
'adapter' => 'PDO_MYSQL',
'host' => '192.168.0.8',
'username' => 'root',
'password' => '123456',
'dbname' => 'db',
'charset' => 'utf8',
'prefix' => '',
'driver_options' => array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8')
); |
$db_cfg = array (
'adapter' => 'PDO_MYSQL',
'host' => '192.168.0.8',
'username' => 'root',
'password' => '123456',
'dbname' => 'db',
'charset' => 'utf8',
'prefix' => '',
'driver_options' => array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8')
);
Related Posts