Commit 195f9c73 by Phạm Văn Đoan

đổi charset kết nối db

parent 3515dee8
...@@ -88,8 +88,7 @@ $active_group = ($_SERVER['SERVER_NAME'] == 'localhost') ? 'local' : 'server'; ...@@ -88,8 +88,7 @@ $active_group = ($_SERVER['SERVER_NAME'] == 'localhost') ? 'local' : 'server';
$query_builder = TRUE; $query_builder = TRUE;
$db['local'] = array( $db['local'] = array(
//'dsn' => 'mysql:host=localhost; dbname=vmusicchart; charset=utf8;', 'dsn' => 'mysql:host=localhost; dbname=vmusicchart; charset=utf8;',
'dsn' => 'mysql:host=localhost; dbname=vmusicchart; ',
'hostname' => 'localhost', 'hostname' => 'localhost',
'username' => 'root', 'username' => 'root',
'password' => '', 'password' => '',
...@@ -112,8 +111,7 @@ $db['local'] = array( ...@@ -112,8 +111,7 @@ $db['local'] = array(
); );
$db['server'] = array( $db['server'] = array(
//'dsn' => 'mysql:host=localhost; dbname=vmusicchart; charset=utf8;', 'dsn' => 'mysql:host=localhost; dbname=vmusicchart; charset=utf8;',
'dsn' => 'mysql:host=localhost; dbname=vmusicchart; ',
'hostname' => 'localhost', 'hostname' => 'localhost',
'username' => 'vmusic', 'username' => 'vmusic',
'password' => 'Vmusic@2019###', 'password' => 'Vmusic@2019###',
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment