Welcome Guest, Not a member yet? Register   Sign In
SQLSTATE[08006] [7] invalid connection option "charset"
#3

(This post was last modified: 11-14-2016, 02:26 PM by martin88.)

EDIT : Found the solution :

$db['default'] = array(
'dsn' => 'mysql:host=localhost; dbname=xxx',
'hostname' => '',
'username' => 'root',
'password' => 'root',
'database' => '',
'dbdriver' => '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
);[/php]
Reply


Messages In This Thread
RE: SQLSTATE[08006] [7] invalid connection option "charset" - by martin88 - 11-14-2016, 09:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB