| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Oliver Gray | Date: | May 21 2006 1:32pm |
| Subject: | Error: Can't connect to MySQL server (10060) | ||
| View as plain text | |||
Hi all,
I've setup mysql++ to work w/ my current project (a Half-life 2 mod). It
compiles with no errors. I run the command:
mysqlpp::Connection con(true);
try
{
if(!con.connect("dbname", "hostname", "username", "password"))
....
where "dbname", "hostname", "username", and "password" are the actual
database name, hostname, username and password. I get the exception listed
in the subject line.
However, I can connect using php with the same dbname, hostname, username,
and password with no problems. What am I doing wrong here?
Thanks.
| Thread | ||
|---|---|---|
| • Error: Can't connect to MySQL server (10060) | Oliver Gray | 21 May |
| • Re: Error: Can't connect to MySQL server (10060) | Warren Young | 22 May |
| • Re: Error: Can't connect to MySQL server (10060) | Oliver Gray | 23 May |
| • Re: Error: Can't connect to MySQL server (10060) | Oliver Gray | 8 Jun |
| • Re: Error: Can't connect to MySQL server (10060) | Warren Young | 8 Jun |
| • Re: Error: Can't connect to MySQL server (10060) | Oliver Gray | 8 Jun |
| • Re: Error: Can't connect to MySQL server (10060) | Carlos Flores | 9 Jun |
