I'm new to all this so please bear with me. I have two identical websites hosted on different servers (both NT) and a mysql database sitting on a third.

Pages on one web site will connect to the database ok, but when I view the same pages on the other site, I get a warning: "Warning: mysql_connect(): Can't connect to MySQL server on '[hostname]'(10060)".

Any suggestions on where I should start looking for the problem would be very welcome. I can connect to the database using SQLyog and other clients: the problem seems to lie with one of the hosts.