Quantcast
Channel: MySQL Forums - Connector/C++
Browsing latest articles
Browse All 529 View Live
↧

Link 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 Article


Help 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 Article


Mysql 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 Article

CDK 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 Article

C++ 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 Article


MySQL 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 Article

Reading 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 Article

Binding 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 Article


cmake 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 Article


Connector 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 Article

MySQL 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 Article

Getting 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 Article

Prepared 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 Article


mysql 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 Article

variant.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 Article


Shared 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 Article

Use 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 Article


can 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 Article

Need 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 Article

Constructing 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 Article

in 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 Article


xdevapi - 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 Article


mysql-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 Article

Please 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 Article

Connector/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 Article


use Mingw to complie have -Werror (3 replies)

from C:\Users\ASUS\Desktop\mingw\mysql-connector-cpp\cdk\extra\protobuf\protobuf-

View Article

use 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 Article

I'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

mysqlcppconn-static.lib not being generated in CMake build (no replies)

Hello, I am trying to clone MySQL Connector/C++ 8.4.0 source from the official GitHub repository and build it with CMake and Visual Studio 2022 on Windows. Goal: Create a static library...

View Article



Query about build error for Mysql Connector/C++ Source (no replies)

OS: Windows Compiler: Visual Studio 2022 (MFC) C++ Build bit: 32/64 bit Build item: Mysql Connector C++ source file Build mode: Visual Studio 2022 build mode (/Mtd,/MDd) I tried to download the binary...

View Article
Browsing latest articles
Browse All 529 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>