Codeigniter error when trying to connect to database using mysqli

后端 未结 10 893
陌清茗
陌清茗 2020-12-21 09:39

I am getting Following error in my CodeIgniter application which is live on server.

Here is the output of the error:

A PHP Error was encounte

10条回答
  •  有刺的猬
    2020-12-21 10:00

    Try to use the plain password with no special characters, below is the example:

    $db['default'] = array(
        'dsn'   => '',
        'hostname' => 'localhost',
        'username' => 'password',
        'password' => 'Mynewpass@756',
        'database' => 'database_name',
    );
    

提交回复
热议问题