Jump to content
xisto Community
Johnny

Need Help With Offsite Mysql Databases

Recommended Posts

I was just wondering, is it possible at all to get an ip that allows a gameserver to connect to it and access its MySQL dbs?

Share this post


Link to post
Share on other sites

I think it is, but I havent tried connecting to an online MySQL server. Theoritically you can connect to an online MySQL server like the way we connect a local machine. When we connect to the local machine MySQL server we used 'localhost' instead of the IP address.

mysql_connect('localhost','user','password');

maybe i will try tomorrow running the php script here in my computer and connect to the online MySQL server of Xisto.com. Lets just say what happened. :P

Share this post


Link to post
Share on other sites

I think it is, but I havent tried connecting to an online MySQL server. Theoritically you can connect to an online MySQL server like the way we connect a local machine. When we connect to the local machine MySQL server we used 'localhost' instead of the IP address.

mysql_connect('localhost','user','password');

maybe i will try tomorrow running the php script here in my computer and connect to the online MySQL server of Xisto.com. Lets just say what happened. :P

Okay, tell me how that goes, I'm still a little confused.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.