array(
'ServerName' => 'ExtendRO',
'DbConfig' => array(
//'Socket' => '/tmp/mysql.sock',
'Port' => 3306,
//'Encoding' => 'utf8', // Connection encoding -- use whatever here your MySQL tables collation is.
'Convert' => 'utf8',
// -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available.
// -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8)
'Hostname' => 'localhost',
'Username' => 'root',
'Password' => 'mysql_pass',
'Database' => 'my_database',
'Persistent' => true,
'Timezone' => null // Example: '+0:00' is UTC.
),
// This is kept separate because many people choose to have their logs
// database accessible under different credentials, and often on a
// different server entirely to ensure the reliability of the log data.
'LogsDbConfig' => array(
//'Socket' => '/tmp/mysql.sock',
//'Port' => 3306,
//'Encoding' => null, // Connection encoding -- use whatever here your MySQL tables collation is.
'Convert' => 'utf8',
// -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available.
// -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8)
'Hostname' => 'localhost',
'Username' => 'root',
'Password' => 'mysql_pass',
'Database' => 'my_database',
'Persistent' => true,
'Timezone' => null // Possible values is as described in the comment in DbConfig.
),
My servers.php, as you can see Username is root. But why is this problem still happening:
Message: SQLSTATE[28000] [1045] Access denied for user 'ragnarok'@'localhost' (using password: YES)