MySQL Forums
Forum List  »  Connector/C++

CDK Error: unexpected message
Posted by: B G
Date: January 15, 2017 12:04PM

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?

Options: ReplyQuote


Subject
Views
Written By
Posted
CDK Error: unexpected message
6235
B G
January 15, 2017 12:04PM
3232
January 19, 2017 09:00AM
2688
B G
January 21, 2017 07:57AM


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.