MySQL Forums
Forum List  »  Connector/C++

connector 8 Session exception
Posted by: Reha Elci
Date: April 23, 2019 07:11PM

I have setup the very basic program as follow in Visual Studio 2017. x64 compiles/links fine. The local debugger immediately produces a memory exception when trying to open a session. I tried this on 2 different win 10 machines - I am probably missing something very basic. Any further debugging ideas would be appreciated! Thans

#include <mysqlx/xdevapi.h>

using namespace mysqlx;

int main()
{
Session sess("localhost", 33060, "user", "password");
}

the exception happens at

template<typename...T>
Session(T...options)
try
: Session(SessionSettings(options...))
{}CATCH_AND_WRAP

Unhandled exception at 0x00007FFF88F1A388 in mysqltest.exe: Microsoft C++ exception: mysqlx::Error at memory location 0x00000050AA2FFBD8. occurred

Options: ReplyQuote


Subject
Views
Written By
Posted
connector 8 Session exception
2761
April 23, 2019 07:11PM
1202
April 24, 2019 05:02PM
1171
April 25, 2019 04:24PM
1118
April 26, 2019 03:08AM
1329
April 26, 2019 03:29AM
1266
April 26, 2019 07:56AM
1124
April 26, 2019 08:12AM
1248
April 26, 2019 11:04AM
1186
April 26, 2019 11:07AM
1190
April 30, 2019 08:16AM
2371
May 05, 2019 11:40AM
1120
November 27, 2019 10:51PM
971
November 28, 2019 03:49AM
1141
February 03, 2020 12:21PM
901
February 04, 2020 09:13AM
977
February 07, 2020 01:03PM
921
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.