Mysqli_connect(): (HY000/1049) CODE IGNITER

this is the connection i use in code igniter but dont work
$db[‘default’] = array(

'dsn'   => '',

'hostname' => 'localhost',

'username' => 'root',

'password' => '',

'database' => 'complexo_site',

'dbdriver' => 'mysql',

'dbprefix' => '',

'pconnect' => FALSE,

'db_debug' => FALSE,

'cache_on' => FALSE,

'cachedir' => '',

'char_set' => 'utf8',

'dbcollat' => 'utf8_general_ci',

'swap_pre' => '',

'encrypt' => FALSE,

'compress' => FALSE,

'stricton' => FALSE,

'failover' => array(),

'save_queries' => TRUE

);

Sponsor our Newsletter | Privacy Policy | Terms of Service