From: Warren Young Date: May 22 2006 7:08pm Subject: Re: Error: Can't connect to MySQL server (10060) List-Archive: http://lists.mysql.com/plusplus/5691 Message-Id: <44720C3A.6070507@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Oliver Gray wrote: > where "dbname", "hostname", "username", and "password" are the actual > database name, hostname, username and password. I get the exception listed > in the subject line. 10060 is a Winsock error code, meaning that the connection timed out. That suggests that the host name is completely incorrect, because you're not even contacting a real host that can reject the connection. If you're familiar with the TCP protocol, this means the SYN packet is going out, and no SYN/ACK (or RST) is coming back. This assumes that there are no firewalls in the way. If that's the case, then the host name could be correct, but the firewall is dropping the SYN packet silently. Firewalls often do this for "stealthing" reasons.