Jump to content

Kevlar

Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by Kevlar

  1.     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)
    

     

  2. This is a tutorial on how to Open Port on Google Cloud for your rAthena server to be online! Linux only for now

    How to Open Ports on Google Cloud VPS for rAthena

    • Linux Machines
      1. First, go to your Google Cloud Dashboard
      2. Click Networking VPC Network > Firewall Rules
      3. After that, click Create Firewall Rule
      4. On name, put a Name you desire
      5. On the Targets, change it to: All instances in the Network
      6. Put 0.0.0.0/0 on Source IP Ranges
      7. On Protocol and ports, choose Specified Protocols and Ports
      8. Place these default ports: tcp: 5121,6121,6900; udp: 5121,6121,6900;
        • If you have different ports, change it! ( 5121: Map 6121: Char 6900: Login )
      9. ( Optional ) On your firewalls, add those Ports, UDP and TCP
    • Upvote 5
×
×
  • Create New...