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

windows example fails STRING TOO LONG (1 reply)

Hello, I installed vs14 2015 linked to vs14 version of 2.0.3 prebuild library. I created a project with the exact source code from http://dev.mysql.com/doc/dev/connector-cpp/devapi_ref.html When I run...

View Article


driver->connect() Segmentation Fault (6 replies)

I could compile this code with no error messages. But when I execute the binary I get a segmentation fault error. The problem is in this line: con = driver->connect("tcp://127.0.0.1:3306", "root",...

View Article


CDK Error: unexpected message (no replies)

I've downloaded the mysql-connector-c++-2.0.3 source code and compiled it with cmake. After that, to test the code, I've compiled the files in the testapp directory using cmake. The MySQL57 service is...

View Article

How to fast fill table (1 reply)

I have table of flags of bitcoin blocks - if the are confirmed (stage 0,1,2) Initially I must "Insert..Ignore" 450'000 rows of (key,0) At start table can several records 567, 1 753, 2 where 567 and...

View Article

VS 2015 - C++ Connector 1.1.8, unresolved external symbol -...

Hi, I am very new to C++ so this is probably down to a lack of experience on my part but after working through lots of issues and Google solutions, I have now got to the end of a very frustrating day...

View Article


VS 2015 - C++ Connector 1.1.8 - needs to have dll-interface (no replies)

I am trying to build the MySQL C++ connector 1.1.8 from src and have made some headway. I am now down to 28 errors and 403 warnings :-/. Most of the Warnings are like Warning C4251...

View Article

Declaring user variable into database using mysql connector c++ (2 replies)

Hello to Everyone, I am developping a software using c++ and MySQL(for the database). I am currently having the issue that I don't find anything online on how to define user variables like...

View Article

I need MInGW libraries (no replies)

mysqlcppconn.lib is in c:\Program Files\MySQL\Connector.C++ 1.1\lib\opt\ but this library is for Visual Studio (only?) Are possible library for MinGW for CodeBLocks for Windows?

View Article


Missing config.h (no replies)

Hi I´m trying to setup a mysql Environment from scratch. I Think that I have installed Everything correct. All paths in Visual Studio 2015 is there. - Server 5.7 - MySQL Connector C 6.1 -...

View Article


GCC G++/C++ Connect to MySQL on Windows 8.1 (Cygwin) (no replies)

Working on the following example, please help connect to MySQL using G++/C++. https://dev.mysql.com/doc/connector-cpp/en/connector-cpp-examples-complete-example-1.html $ gcc --version gcc.exe...

View Article

C++ Visual Studio 2008 with mySQL (no replies)

Is it possible to connect a C++ Visual Studio 2008 project to a mySQL database? If so, could somebody please be kind enough to offer some guidance? Please note, I am using Visual Studio 2008. Is this...

View Article

ODBC connector use the SQLBindingParameter error (no replies)

I use the ODBC to connet the mysql server. But when I use the SQLBindingParameter to bind a output data ,mysql return error code 1414. Like this: [MySQL][ODBC 5.3(w) Driver][mysqld-5.7.17-log]OUT or...

View Article

Connector/C++ (1.1.7 and 1.1.8) : crashes on executeQuery and execute in...

Hi everyone, I am pretty new to mysql, but after few hours of research on the Internet I didn't find a solution to my problem. I installed Mysql (server 5.7 and connector/c++) and configured a first...

View Article


socket creation when library is loaded (no replies)

Hi I have a custom c++ application that uses mysql-connector-c++/1.1.5 as a shared object to communicate with our db. I saw in the debugger that when I run my program, when the library gets loaded it...

View Article

LIbrary (no replies)

Higuys ... i am new to MySQL . Can you please tel me if we can My SQL library as we can see library functions in c and c++

View Article


Use Cross ToolChain in OS X to build source code for ARM platform (no replies)

I download the source code from github. use ccmake. to configure cross toolchain paths. generate makefile use make to build, but failed. are there any suggestion for this condition? Thanks.

View Article

Segmentation fault in prepared statement when using from concurrent threads...

Hi, I am seeing this behavious frequently.Either i am getting a segmentation fault when i am creating a new connnection.(I have seen it in a post that get_driver_instance() isnt thread safe so cannot...

View Article


Getting Rows Matched for Update with non-affected rows (no replies)

When doing an update, if there are no changed rows, but there are matched rows, there does not appear a way to get this information. I'm not sure if it's buried deep inside, like related to...

View Article

MySQL Connector/C++ versions compatible with MySQL server versions 5.5, 5.6...

Hi All, We are an enterprise trying to build a backup and restore solution for MySQL. We plan to use Connector/C++ API to perform locking and run some queries on MySQL DB. Our software is going to...

View Article

error: undefined ref 'get_driver_instance' (no replies)

Hello, I've just installed: mysql-connector-c++-1.1.6-linux-el6-x86-64bit.rpm and copied a simple program from the MySQL site. When I build the project I get the error mentioned in the title. 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>