PDA

View Full Version : mySQL databases accross websites



jit.sd
March 31st, 2009, 04:31 PM
Hey ,

I have a website that is hosted on one server . Is it possible for me to access a mySql database that is hosted along with a completely separate website on a different server . The Web hosts are not the same .

Thanks ,
Jit

mike_g
March 31st, 2009, 04:43 PM
Yes, you just have to create a connection to the remote server.

Tibuda
March 31st, 2009, 07:14 PM
It depends if the MySQL server allow external connections. For security reasons, your server may not allow it.

Yacoby
March 31st, 2009, 07:24 PM
Yes, you just have to create a connection to the remote server.
You may have to set your webhost to allow it.