in reply to Accesing a database from different sites

Check out my answer to a previous mySQL question about setting up a database connection.

That code will work fine for you, all you need to do is change "localhost" to the actual host you are trying to connect to.

You will also need to make sure any firewalls you are going through allow port 3306, or if not...you can change that as well.

Enjoy!

  • Comment on Re: Accesing a database from different sites