Thanks for the response. I was trying to connect to an sql database hosted
by godaddy, but it turns out that godaddy does not allow outside connections
to it's databases. So when you buy a plan at godaddy you get sql and a
website. Only the website that godaddy hosts can access the database.
I tried a different database and it worked. So if you're using Godaddy to
host your mysql db, I think you're out of luck.
On 5/22/06, Warren Young <mysqlpp@stripped> wrote:
>
> 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.
>
> --
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe: http://lists.mysql.com/plusplus?unsub=1
>
>