Never encounted this problem before. I have set up the host in the access hosts in the mysql database, and also the details are 100% correct, they work fine on the localhost of the database.
I am trying to connect from ventrogaming.net to a database located on nsgclan.com.
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 110 in /home/ventroga/public_html/mta/ucp/home.php on line 3
Lost connection to MySQL server at 'reading initial communication packet', system error: 110
mysql_connect("188.8.131.52", "*SNIP*", "*SNIP*") or die(mysql_error());
mysql_select_db("*SNIP*") or die(mysql_error());
Does nsgclan.com allow remote mysql connections? - Not all hosts allow remote connections.
Im not sure, I have SSH access to the server, how would I enable this?
Sorry, forgot to mention. I run an MTA server on a totally differant dedicated server box, and it connects fine. So I guess nsgclan.com is open to allow incoming connections…
I guess its a problem with the ventrogaming.net webserver? Is there a setting to allow outgoing connections to a remote database?
No idea I’m afraid. All I can suggest is a pointer - which in this case was to look at remote connections being allowed. You might also want to look into the firewall if there is one and see if the site your connecting from has been blacklisted or something.