Using C++ Connector8 with a Dynamic Link Library (msvs19) (no replies)
I am trying to create a Dynamic Link Library (DLL) File with MSVS19 in c++17 code. The API I am creating the dll for is written in stdc++17. I can created a separate project that is a console project,...
View Article-- Looking for sys/endian.h - not found (no replies)
How do you fix this? Trying to build static library from source with JDBC, I have all the source, and boost, paths to MYSQL is set correctly. Every time I get past one error, another seems to pop up,...
View ArticleLink error (no replies)
I am using the C++ connector, version 8.0.23 on Windows 10 Pro, under WSL Ubuntu 20.04.1. When I try to build my application, I get the following link error: /usr/bin/ld:...
View ArticleHelp setting up mysql C++ connector in visual studio and ubuntu (no replies)
Hi I'm willing to pay $200 for help setting up the mysql C++ connector for xdevapi in visual studio and ubuntu. Please let me know if you can help. my discord is: conor#8014 thanks!
View ArticleMysql C++ connector: (process 26464) exited with code -1073740791. (no replies)
Set project to release x64 C/C++->General->Additional Include Directories: C:\Program Files\MySQL\Connector C++ 8.0\include Linker->General->Additional Library Directories: C:\Program...
View ArticleCDK Error: no such file or directory (generic:2) (no replies)
Hi guys: There is a longblob type field in my table. When I use the table:: insert() interface to insert, the code will exception and get a prompt: CDK error: no such file or directory (generic:2)....
View ArticleC++ OO programming usage (no replies)
I'm just getting started in programming with MySQL 8/Connector C++. Everything is built and linked and working but I have a question about how to make use of this in a true C++ Object Oriented...
View ArticleMySQL 8.0.30: Release Notes (no replies)
MySQL 8.0.30: Release Notes - https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-30.html - https://dev.mysql.com/doc/relnotes/mysql-shell/8.0/en/news-8-0-30.html -...
View ArticleReading DATE, DATETIME via mysqlx (MySQL Connector/C++ 8.0 X DevAPI) (no...
Since this is still not implemented into the C++ Connector we developed the following C++20 helper methods for production use with mysqlx (MySQL Connector/C++ 8.0 X DevAPI) to properly read DATE,...
View ArticleBinding Blob with xdevapi (no replies)
I am trying to bind a char * to a blob parameter. The data contains special characters(eg. €). Is there any way of implementation?
View Articlecmake error when using xdevapi (no replies)
hello there i finally managed to include this lib in my project by installing mysql-apt-config_0.8.24-1_all.deb mysql-community-client-plugins libmysqlcppconn8-2_8.0.31-1ubuntu22.04_amd64.deb...
View ArticleConnector crashing on Windows (14 replies)
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...
View ArticleMySQL sample test with C++ get build problem (no replies)
1. I use winddow 10 , vs2002 C++ ,MySQL community 8.0.32, Connector C++8.0.32 2. the vsc++ and mySQL seemed already linked successful, because I can query or insert record with vsc++ in mySQL with SQL...
View ArticleGetting query results as strings (1 reply)
For a general SQL query, I want to return a map of columns and values converted to strings. However, while cout prints out the value of row[index], I cannot find a way to make sure it is a string...
View ArticlePrepared queries in Connector C++ (1 reply)
I can't seem to find any documentation on how to used prepared queries using Connector C++ 8.0 library. How do I create a prepared query and how do I set the parameters before executing it?
View Articlemysql connector 8.0.32 c++ can't get results don't understand (no replies)
This code is connecting. I was able to create tables without any problems. Now I want to run queries and get the results. Tried a lot, not sure of the documentation. I looked at the .h files and...
View Articlevariant.h error with MySQl c++ CONNECTOR (no replies)
I installed connector 8.0 when I try to run a c++ program in Visual Studio 22, I get: Severity Code Description Project File Line Suppression State Warning C26495 Variable 'sql::Variant::variant' is...
View ArticleShared memory protocol for windows clients (no replies)
Is anyone successfully using this? I'm trying to connect but keep getting the 2046 error about client not being able to create the request event and can't connect to shared memory. I've tried all the...
View ArticleUse MysQL connector client 6.1.11 with MySQL 8.0.32 (1 reply)
Use MysQL connector client 6.1.11 with MySQL 8.0.32. SSL connections to MySQL 8 from 6.1.11 'c' connector. How do I set the TLS version ? I am getting "SSL connection error: TLS version is invalid"...
View Articlecan build connector app: symbols(s) not found for architecture arm64 (no...
Hi guys, beginner here, I'm having trouble with my first mysql project. I've downloaded the c++ connector for arm64 and am trying to use it with X DevAPI in my program. But, when building I'm running...
View ArticleNeed help to put the static libs working in c nor in c++ (no replies)
hi, i am trying to put the mysql librarys has statik in codeblocks, but i cant. in c ++ give me undefined refenred to check(std::__cxxll::basic_string<...>...) undefined refenred to...
View ArticleConstructing a MySQL Connector/C++ class object after one is destroyed (2...
Using MySQL Connector/C++ 8.0 I define a Database class and construct an object of that class to connect to the database. That works fine. If that object is destroyed and I try to construct another...
View Articlein eclipse mysql connector/c++ not working on M1 Macbook air (no replies)
Using Eclipse, I am trying to create a simple example of how to query a mysql database using the mysql connector/c++ I keep getting this error Description Resource Path Location Type exception...
View Articlexdevapi - dynamic queries - multiple queries (no replies)
I'm working on converting a project from using the legacy JDBC connector to xdevapi. I know I can replicate what I'm doing right now using the session.sql classes and functions. However, I'd like to...
View Articlemysql-connector-cpp tableinsert how to release (no replies)
mysqlx:: about TableInsert, use the values function add content,after execute(), how can i release the original content to avoid duplicate insertions.
View ArticlePlease help. cant get connector to work, unresolved external symbol error (1...
So, I'm at the end of my tether. I'm one week in now of trying to solve this and I think I'm going insane. Caveat: I am a bit of a noob, so could possibly be doing something stupid. I plan to make a...
View ArticleConnector/C++ 9.0.0 build failed with error (2 replies)
I tried to compile Connector/C++ 9.0.0 from source on Windows with cmake and the driver is failing to build with error message. Commands I used: cmake "C:\mysql-connector-c++-9.0.0-src"...
View Articleuse Mingw to complie have -Werror (3 replies)
from C:\Users\ASUS\Desktop\mingw\mysql-connector-cpp\cdk\extra\protobuf\protobuf-
View Articleuse Mingw to complie cant find file or directory (1 reply)
$ cmake --build . --config Debug [ 96%] Linking CXX shared library libmysqlcppconn-10.dll Merging SHARED library: C:\Users\ASUS\Desktop\mingw\jdbc\libmysqlcppconn-10.dll Merge options: - using gcc...
View ArticleI'm using c++ with prepared db (no replies)
#include <iostream> #include <windows.h> #include <sql.h> #include <sqlext.h> #include <string> #include <cstring> #include"stdafx.h" // Constants #define...
View Article