MySQL Forums
Forum List  »  Connector/C++

Re: connector 8 Session exception
Posted by: Siddhant Kothari
Date: February 03, 2020 12:21PM

Could you find the issue?

I am facing the same problem on VS19 x64.
I have 2 projects in one VS solution. One uses node-gyp to compile to a .node file and the other has plain C++ with x64. The connector works fine in the node project.
The problem arises in the other when I try to use mysqlx::string (for example when making a Session).

This statement:
mysqlx::string a("localhost");
compiles correctly but gives the same error.
When I put it into try...catch. The caught error displays as "CDK Error: Failed string conversion"

So, any suggested solutions?

Options: ReplyQuote


Subject
Views
Written By
Posted
2285
April 23, 2019 07:11PM
1000
April 24, 2019 05:02PM
1007
April 25, 2019 04:24PM
975
April 26, 2019 03:08AM
1167
April 26, 2019 03:29AM
995
April 26, 2019 07:56AM
943
April 26, 2019 08:12AM
1066
April 26, 2019 11:04AM
1027
April 26, 2019 11:07AM
995
April 30, 2019 08:16AM
2058
May 05, 2019 11:40AM
927
November 27, 2019 10:51PM
791
November 28, 2019 03:49AM
Re: connector 8 Session exception
892
February 03, 2020 12:21PM
672
February 04, 2020 09:13AM
753
February 07, 2020 01:03PM
761
February 11, 2020 12:03PM


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.