MySQL Forums
Forum List  »  Newbie

C++ connector issue
Posted by: Eric Bouchard
Date: December 20, 2022 10:31AM

I am trying to install and use the c++ connector. I downloaded the DEBUG version of the connector. Linked the mysqlcppconn8.lib to my project, added the libcrypto-1_1.dll, libssl-1_1.dll and mysqlcppconn8-2-vs14.dll to my project directory. It compiles, seems to work, but crash when trying to open a session. It looks like a bad library linked to wrong dll or something.

A simple: mysqlx::Session Sess(mysqlx://"root@127.0.0.1") crash in the function:

Session(SessionSettings settings)
try
: Session_detail(settings)
{}
CATCH_AND_WRAP

with bad memory.

I use VS 2019 on windows. Downloaded the latest connector on DEBUG (I compile on DEBUG too).

Any idea?

Options: ReplyQuote


Subject
Written By
Posted
C++ connector issue
December 20, 2022 10:31AM


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.