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

how to cast fields to c++ data types (no replies)

I'm trying to do the most simplest of things, convert a field from a fetched row into my C++ double variable. Connector 1.1 used a simple 'getDouble', i.e. double aval =...

View Article


data change listener (6 replies)

I have a RDS account in amazon and i use the c++ mysql connector for querries from my raspberry pi. how can I receive kind of signal when a data has been changed? I can use a thread which will iterate...

View Article


Failed to connect to mysql server with c++ connector on Fedora25 (no replies)

Hello, I've created a c++ application in order to connect to mysql server in local, on linux system (fedora 25). I've downloaded this version off the connector:...

View Article

Could not find dynamic "mysqlclient_r mysqlclient" in MYSQL_LIB_DIR (1 reply)

Hello! I'm trying to build Connector/C++ on CentOS 7. When I run "cmake ." I get the following output: -- Boost version: 1.65.1 -- BOOST_INCLUDE_DIRS=/usr/local/boost_1_65_1 -- You will link...

View Article

Connector/C++ Compilation Errors using Visual Studio 2015 (1 reply)

I downloaded the latest Connector/C++ from gitHub (ver: 1.1.9) and ran CMake using the following command: %> "C:\Program Files (x86)\CMake-3.8.2\bin\cmake.exe" -G"Visual Studio 14 2015"...

View Article


No se puede encontrar el tipo o el nombre de espacio de nombres 'MySql'...

Hola! nesecito ayuda, estoy usando una conexion a wampserver y programando en visual studio 2010. El detalle es que me arroja ese problema y no puedo conectarme a la base de datos. Como arreglo ese...

View Article

What kind of license do i need for public free application using MySql...

Hi, i made an application that uses MySql Connector/C++ to connect to mysql servers without modifying it but using it as static lib inside this app. This application is free as an application and free...

View Article

how to configure or rebuild php 5.6 to use MySQL client server library...

please help me in windows how to configure php 5.6 or 7 to use MySQL client server library (libmysqlclient) instead of MySQL native driver (mysqlnd).

View Article


Versions mapping (1 reply)

Hi, I'm using the community server 5.7 I'm using the C++ connector Ques #1. which connector version should I use? Unfortunately, there is no mapping table between the server version and the connector...

View Article


MySQL Connector 8.0 and Visual Studio 17 (no replies)

Hello, I am using Visual Studio 17. Is MySQL connector 8.0 available for that compiler? I see alot of references to 2015 in the "Build from Source" documentation. Also CMAKE -G does not seem to have...

View Article

ERROR CONNECTION | CDK Error: Connection refused (generic:111) (no replies)

Hi ! I'm sorry for my english, I'm french. I will try to be clear. I have a problem with MySQL Connector/C++ 8.0. When I try to connect my program to the session that I created for, my connection is...

View Article

C++17 and version 1.1 of connector (1 reply)

I need to build with C++17 but have encountered this error on Ubuntu 16.04: /usr/local/include/cppconn/exception.h: At global scope: /usr/local/include/cppconn/exception.h:98:2: error: ISO C++17 does...

View Article

SSLEAY32.DLL (no replies)

Trying to use the sample connector code to connect to a MySQL db and table using C++. Compiles fine, links fine, but on execution I get SSLEAY32.dll not found. The MySQL db in question has the SSL...

View Article


Undefined symbols for architecture x86_64: "_get_driver_instance" (1 reply)

I am running Example 1 in: https://dev.mysql.com/doc/connector-cpp/1.1/en/connector-cpp-examples-complete-example-1.html and get the following error when compiling with clang++ Undefined symbols for...

View Article

Unity Android MySQL connection function failing: Index was outside the bounds...

I have a class to handle all of the database interactions between the client and database (MySQL) (I know and understand that I shouldn't allow direct access to a database) public T...

View Article


ResultSet->getString() code (no replies)

mysql> show variables like '%char%'; +--------------------------+---------------------------------------+ | Variable_name | Value |...

View Article

Facing issues using mysql-connector-c++ on macOS 10.14 (no replies)

Hello, Ive just installed the new mysql connector c++ v8 and it is problematic. The library is not loading and it is asking for libmysqlcppconn.7.dylib, which i symlinked in /usr/local/lib, the same...

View Article


Installation of the Connector/C++ 8.0.13 in MySQL installer fails on Windows...

I try to install Connector/C++ 8.0.13 component and use it on a freshly installed Windows 7 Professional 32-bit with January 2019 updates (KB 4480970, 44893187, 3156016, 3978601, 2952664, 29112390,...

View Article

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

https://insidemysql.com/mysql-connector-c-8-0-14/

View Article

Binding NULL in a prepared statement (no replies)

Hello, I'm trying to bind NULL for a nullable datetime column using a prepared statement as follows - session.sql("UPDATE `table` SET `datetime` = ? WHERE `id` = 1").bind(NULL).execute(); This...

View Article
Browsing all 527 articles
Browse latest View live


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