connecting game server with mysql database not in one server

Results 1 to 5 of 5
  1. #1
    Enthusiast adiprayitno is offline
    MemberRank
    Jan 2012 Join Date
    30Posts

    connecting game server with mysql database not in one server

    How to connect game server with mysql database server if both not in the same server? in which file do we need to change the path ?


  2. #2
    The One And Only DaMadBoy is offline
    MemberRank
    Jun 2009 Join Date
    Behind You!Location
    545Posts

    Re: connecting game server with mysql database not in one server

    In the auth config file, you need to change the server address there. You also need to make a new user on the other server with the MySQL server on it and give it permissions to access the database.

    There are also some settings you need to change in the MySQL config file so it can listen for connections from other servers. By default MySQL only listens for connections on the local server, at least in newer versions.

    Also, if you have any scripts that update rankings into MySQL, you need to change the connection and user settings there as well.

  3. #3
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: connecting game server with mysql database not in one server

    Moved to a more appropriate section...

  4. #4
    Enthusiast adiprayitno is offline
    MemberRank
    Jan 2012 Join Date
    30Posts

    Re: connecting game server with mysql database not in one server

    Quote Originally Posted by DaMadBoy View Post
    In the auth config file, you need to change the server address there. You also need to make a new user on the other server with the MySQL server on it and give it permissions to access the database.

    There are also some settings you need to change in the MySQL config file so it can listen for connections from other servers. By default MySQL only listens for connections on the local server, at least in newer versions.

    Also, if you have any scripts that update rankings into MySQL, you need to change the connection and user settings there as well.
    I have check table.xml in authd and change it with requirement information from mysql server database, IP, database, username and password, i just only found the information for accessing database in this file only, not including the website register coz i just want to run game server only in another different server. i'm confusing and still working to find out the problem, i have also disable ufw for trial only, i also find paramater database in file /etc/host and change it also with IP server mysql database, but still the problem, i will chek it later when i have more enough time. tq for reply..

  5. #5
    Valued Member extazy20 is offline
    MemberRank
    Feb 2012 Join Date
    101Posts

    Re: connecting game server with mysql database not in one server

    You need to open a remote connection to a database on another server.



Advertisement