Accessing a database from my game server.

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
User avatar
Eccid
New to forums
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.

Post by Eccid »

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?
User avatar
Vanderburg
Former staff
Former staff
Posts: 1253
Joined: Sat Nov 13, 2010 7:27 am
Location: Dallas, TX

Re: Accessing a database from my game server.

Post by Vanderburg »

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)
User avatar
Eccid
New to forums
New to forums
Posts: 6
Joined: Thu Nov 15, 2012 2:32 pm

Re: Accessing a database from my game server.

Post by Eccid »

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 :D
Post Reply