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
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