Can anybody connect to an sql server on a different host?

software development



I have a php script on dreamhost that can’t connect to an sql database on hostgator (both companies blame each other).

If anyone here is able to connect to another host’s sql server please could you share the name of the host with me?

Many thanks,



Not sure how it works over at hostgator, but if you were making that connection in reverse with the sql on dreamhost then you would need to whitelist the IP address that the connection would come from in the dreamhost panel. Perhaps hostgator has a security measure that is similar.


If you can’t solve the problem, just set up a very simple API with a very long authentication string.