Quantcast
Channel: MySQL Forums - Connector/C++
Browsing all 527 articles
Browse latest View live
↧

Insert update blob value converting from char *object and int length (no...

Hi, I am running mysql in C++ on Debian platform. I have a small serialized msgpack object about 200 bytes, to run a statement to insert update the blob field, the blob value is from a buffer in char...

View Article


system error 126 (no replies)

Hi, I am getting below error when trying to click "Test" button in ODBC Data source configuration. mysql server 5.7 installed and from mysql workbench I am able to access. C++ connector code(checkout...

View Article


Exception: DELIMITER // (no replies)

I can run DELIMITER // in the mysql command line, but could not run it in the C++ statement, it got an Exception: DELIMITER // You have an error in your SQL syntax; check the manual that corresponds...

View Article

MySQL Connector/C++ 1.1.1: Microsoft Visual Studio 2017 - Why doesnt it work...

Hello all, I have this code, that is supposed to connect to MySQL and get some basic information from it. I pushed the cart as far as I could, but when I try to build the program, it simply doesnt...

View Article

xdevapi.h can't pass compile (no replies)

Today,i find my code can't pass compile,and my computer environment is mingw64(It's installed by msys2)+MySQL8.0.15+mysql-connector-c++-8.0.15-winx64.zip. I copy the 'include' folder to...

View Article


VS2017: Compiler Errors of xdevapi.h header files (no replies)

I have into an issue upgrading the connector from version 1.0 in a legacy system of ours. Any code file that has: #include <mysqlx/xdevapi.h> Will result in the following compiler errors:...

View Article

Linking errors when trying to compile connector (no replies)

Really need your help, I'm trying to update my old project using new version of mysqlx connector. Compiling it in debug mode. I'm using VS2015 64bit mysql-connector-c++-8.0.15-src. following this...

View Article

connector 8 Session exception (no replies)

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

View Article


Run Time error: CDK Error: Failed string conversion (1 reply)

I am trying to connect to MySql database I created at AWS RDS with the following simple code: try { using namespace ::mysqlx; Session...

View Article


MySQL Connector/C++ 8.0.16 has been released (no replies)

https://insidemysql.com/mysql-connector-cpp-8-0-16/

View Article

ResultSet->getString() (no replies)

why must use ResultSet->getString("theColumnName").c_str(); when use like cout<<rs->getString(),it occurs interruption. why can't output the SQLString directly?

View Article

Access Results Set Columns When Multiple Instances Of Same Table Aliased (no...

DB noob here! I am building a MySQL-driven data management system for inspection reports and associated data created on a production floor as subassemblies are built up. Any part number can be a...

View Article

Automatic Casting to Types not working (no replies)

Hi, I recently upgraded my MySQL Connector C++ to v8.0.16 which lead to problem occurring during the compile of my project. All the errors are from casting the "mysql::abi2::r0::Value" to different...

View Article


executereader error (no replies)

hi, I have a vb program that wants to retrieve data from MySQL dbase. this code is working fine : Dim vDATE As String vDATE = mDATE.ToString("yyyy/MM/dd",...

View Article

"Install Directory" - can you please be more specific? (1 reply)

I'm trying to build the Connector/C++ on Ubuntu 18.04 and I have an error that after some web searching suggests that I set the MYSQL_DIR option for Cmake. In the documentation its called the 'MySQL...

View Article


MySQL 8.0.17: Connector/C++ released (no replies)

https://insidemysql.com/mysql-connector-c-8-0-17-has-been-released-2/

View Article

MySQL 8.0: Connector/C++ - 8.0.17 - leak? (no replies)

Hi there! This short test code produces leaks by Valgrind! { std::string url = "mysqlx://uname:pwd@host.ip.add.ress:33080/schema"; Session mySession(url); RowResult res = mySession.sql("SELECT id,...

View Article


MySQL Connector\C++ and Win64 (1 reply)

-Does the Win64 version of the latest C++ Driver for MySQL, particularly its *.lib files, come compatible with MSVC++ linker and compiler, or are they GNU/TDM compatible? Is it compatible with the MS...

View Article

Problem while using MySQL connector API (no replies)

Dear Team, Currently, I am integrating MySQL database with C++ based application as a document storage. I have created a data in MySQL database using MySQL API for create document. While retrieving...

View Article

Problem using string manipulation functions with MySql. (no replies)

// I have a MySQL 8.0.17 database sample project I am compiling using // Visual Studio CE 2017 on a 64 bit windows machine. It is a console // app. See the code below it's boilerplate. The issue I...

View Article
Browsing all 527 articles
Browse latest View live


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