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 Articledriver->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 ArticleCDK 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 ArticleHow 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 ArticleVS 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 ArticleVS 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 ArticleDeclaring 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 ArticleI 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 ArticleMissing 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 ArticleGCC 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 ArticleC++ 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 ArticleODBC 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 ArticleConnector/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 Articlesocket 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 ArticleLIbrary (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 ArticleUse 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 ArticleSegmentation 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 ArticleGetting 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 ArticleMySQL 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 Articleerror: 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