Quantcast
Channel: MySQL Forums - Connector/C++
Browsing index pages (530 articles)

Configuring incomplete, errors occurred! (no replies)

Hi, team! I'm trying to Install Connector/C++ from Source. After $ git clone https://github.com/mysql/mysql-connector-cpp.git $ cmake mysql-connector-cpp/ I've got -- Configuring incomplete, errors...

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


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

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

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


use Mingw to complie have -Werror (3 replies)

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

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

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


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


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

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

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

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


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

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


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

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


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

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

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
Browsing index pages (530 articles)


Latest Images