MySQL Forums
Forum List  »  Connector/C++

"# ERR: Can't connect to MySQL server on 'myserv.pl' <10060> <Mysql error code: 2003, SQLState: HY000>"
Posted by: Michał Strzeszewski
Date: May 25, 2011 11:33AM

Hello everyone!

Few days ago I downloaded new mysql connector C++. Right now after lots of problems of integration this connector with visual c++ 2008 program compiles. But when im trying to connect with my server I have error:

"# ERR: SQLException in .\myproject.cpp(main) on line 90"

and

"# ERR: Can't connect to MySQL server on 'myserv.pl' <10060> <Mysql error code: 2003, SQLState: HY000>"

So <10060> it is a port?
My server works at port number: 3306.


By the way this is a result of example solution published by Mysql team.

Thanks and have a nice day :)

Options: ReplyQuote


Subject
Views
Written By
Posted
"# ERR: Can't connect to MySQL server on 'myserv.pl' <10060> <Mysql error code: 2003, SQLState: HY000>"
4041
May 25, 2011 11:33AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.