Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

connector 8 Session exception (17 replies)

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

Viewing all articles
Browse latest Browse all 527

Trending Articles