Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

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

$
0
0
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 :)

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>