Jump to content
  • 0
Kevlar

Servers.php does nothing FluxCP

Question

    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)

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Nothing really worked, except i just deleted FluxCP and configured the Data on my PC then Uploaded on my VPS, thanks for replies though

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.