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

CDK Error: unexpected message (no replies)

$
0
0
I've downloaded the mysql-connector-c++-2.0.3 source code and compiled it with cmake. After that, to test the code, I've compiled the files in the testapp directory using cmake. The MySQL57 service is installed and running. To test it I connected to it without problems through the MySQL Workbench. However when I run the devapi_test in the testapp directory it immediately catches an exception on the following line of code:
XSession sess("localhost", port, user, pwd);
The message from the exception is:
ERROR: CDK Error: unexpected message
The port, user, and password are exactly the same as those I used to connect through the Workbench, and the server is installed locally. The error message doesn't really help to figure out what I did wrong. Does anybody have any idea of how I can proceed?

Viewing all articles
Browse latest Browse all 527

Trending Articles



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