Yeah, I was wondering if this is even possible? I tried it and it doesn't seem to work. It won't connect.
yeah, just pass the ip of the server in the connection.
mysql_connect("ip_of_server","name","pass");