Accessing a database from my game server.
- Eccid
- New to forums
- Posts: 6
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Thu Nov 15, 2012 2:32 pm
Accessing a database from my game server.
Hello. I've been trying to set up a global bans system on my game server, and it's supposed to access an sql database I set up on my webserver. I have the script on my game server going to localhost, is this correct, or do I need to use the domain name for my webserver?
- Vanderburg
- Former staff
- Posts: 1253
- Joined: Sat Nov 13, 2010 7:27 am
- Location: Dallas, TX
Re: Accessing a database from my game server.
The MySQL database for the website does not reside on the gameserver machine. You'll want to use your website DNS for this (xxx.site.nfoservers.com)
Re: Accessing a database from my game server.
Youdaman. Thanks a ton. I'm new to sql and php, so I'm entering a new journey. Fortunately, all the autoinstallers for phpbb and admin tools and whatnot have made it 20000x easier 
