Neil Moomey wrote:
How do I connect to a remote MySQL Server? What do I replace "localhost" with? Thanks.
The IP address or the fully qualified domain name of the machine running the MySQL server. Be sure that your permissions are set correctly (i.e. the mysql server needs to be configured to allow your user to connect to it from the machine your script is running on). For info about how to configure permissions correctly, read the mysql manual (online at mysql.com)