Jump to content
  • 0

Servers.php does nothing FluxCP


Kevlar

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   5
  • Joined:  05/27/18
  • Last Seen:  

    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

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   0
  • Joined:  02/19/18
  • Last Seen:  

Create a New User!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

Did you give a previllage to the user "ragnarok" ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   5
  • Joined:  05/27/18
  • Last Seen:  

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

×
×
  • Create New...