MySQL Forums
Forum List  »  Connector/C++

Run Time error: CDK Error: Failed string conversion
Posted by: Michael Pi
Date: April 25, 2019 03:09PM

I am trying to connect to MySql database I created at AWS RDS with the following simple code:

try {
using namespace ::mysqlx;

Session sess("fds-symbol-usage-log.c68mzlz3vy3c.us-west-2.rds.amazonaws.com", 3306, "sa", "Trade123!");
Schema db = sess.getSchema("fds_symbol_usage_log");
....


However, I got error CDK Error: Failed string conversion at the very 1st line.
I am using Visual Studio 2015 and Connector/C++ 8.0.16. I have tried both x86 and x64, same error.

Not sure what I have missed, please help.

Thanks.

Michael

Options: ReplyQuote


Subject
Views
Written By
Posted
Run Time error: CDK Error: Failed string conversion
2157
April 25, 2019 03:09PM


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.