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

Will this work with mysql (from Red Had Portal) (no replies)

Hello, I am trying get Connector-c++ to work on a Rhel 6 system that currently has MySQL installed via rmp downloaded from the Red Had customer portal. The rpms currently installed are:...

View Article


undefined reference for some functions (no replies)

Dear friends, The following functios are declared in the mysql.h header file that is well included in the example source code. And it´s path well seted. But the compiler says: undefined reference to...

View Article


C1083 Cannot open include file cppconn/connection.h (no replies)

Help! I get the following C1083 error: "Cannot open include file: 'cppconn/connection.h': No such file or directory.' I am using VS2015. I have read C1083 but cannot get this fatal error corrected. I...

View Article

What is mysql command line to show help topics for attributes? (no replies)

Hi, I ran the help but could not find help contents for attributes to show such as auto increment, not null, etc, but there is no content to show attributes, how would you run help for attributes?...

View Article

MySQL Connector/C++ : Class List/Data Member List/Member Function List (no...

I am looking for MySQL Connector/C++ : Class List/Data Member List/Member Function List. For Eg. : In ResultSet what Data Member List/Member Function List available. Is any such documentation available.

View Article


Block when query from mysql (no replies)

Our server codes is always blocked like this: (Thread 0x7f889ffff700 (LWP 128204)): #0 0x0000000000dc0411 in read () at ../sysdeps/unix/syscall-template.S:82 #1 0x0000000000d620e2 in vio_read_buff ()...

View Article

VS 2017 Community (no replies)

So I have been revisiting C++ and started back using VS 2017 Community. So I decided to step out and try to connect to MySQL. Wow, this was not like using C# to setup. So I followed the instructions...

View Article

Could not find dynamic "mysqlclient_r mysqlclient" in MYSQL_LIB_DIR (no replies)

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 (no replies)

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

Run multiple update / select from one query (1 reply)

Hi, I need a query command to update multiple rows to set the alertState (char(1) to true if any tables match following conditions: - the last contact time < now - timeout - the the alertState =...

View Article

Update and insert in one query (no replies)

Hi, I want to update one table and insert to another table in one query, but the insert command cannot see the statement.id from the update. Appreciate clues update Device, (select id, alertState,...

View Article


Dealing with date and time fields (no replies)

I'm probably missing something very trivial, but I'm stumped. I'm using a C++ connector to read data from Mysql. Basic strings and ints are fine. But the sql::ResultSet does not have the getTime()...

View Article

How to connect MYSQL through SSH tunne BY Connector/C++ (no replies)

I try to connect mysql use Connector/C++ in desktop app(not QT,not C#) How to connect MYSQL through SSH tunne thank you!

View Article


No createTable() method, how to add a table with X DevAPI (no replies)

The C++ X DevApi has a createCollection(), a dropCollection() and a dropTable() method, yet no createTable() method (the Java X DevAPI has one). Why is that? How are we supposed to add tables?

View Article

C++ Connector/Corruption when using Prepared Statement (no replies)

I have been hunting down a memory corruption issue with the results of C++/Connector for the last couple of days. The issue really only shows up when using a prepared statement, and the resul is of...

View Article


C++ devapi_test error (no replies)

Since I built the code from source, I ran devapi_test.exe, but got an error: ERROR: CDK Error: Capability prepare failed for 'tls'. What this means and how to solve it?

View Article

C++ Connector Source Build Issues in VS2017 (no replies)

My current developing application is built in VS2017. So I tried to build C++ Connector source in VS2017 to avoid linking issues. I made the build succeed. VS2017 says "35 succeeded, 0 failed, 2...

View Article

Eclipse program crashing when connecting to MySQL Server (no replies)

I am writing a simple program in Eclipse CDT to connect to a MySQL Server hosted locally. I have ensured the server is running. The code I am trying to execute is the following: void...

View Article
Browsing all 527 articles
Browse latest View live


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