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

#include Problem! (no replies)

I am using MS VS 2008 and I am developing a program, which shall use MySQL server on another PC. I downloaded the MySQL Connector/C++. I included "mysql_connection.h", but the compiler cannot find...

View Article


The application was unable to start correctly (1 reply)

I was able to get the program listed here http://dev.mysql.com/doc/refman/5.1/en/connector-cpp-examples-complete-example-1.html to compile and link with VC++ 2012, but the program won't run. Get the...

View Article


getting segmentation fault in the program (no replies)

I am getting a segmentation fault sometimes in my application(It comes very rarerly, like once in 300 runs of program. Since it doesnt come always so I cant gdb it). *** Aborted at 1362124211 (unix...

View Article

unresolved symbol error MySQL_Driver* (no replies)

Hello; The second statement causes the error. I tried all the example codes that are on this site but get the same link error. If I comment out the second line the program compiles just fine. Does...

View Article

Program throws error 15 (no replies)

This simple code throws error 15? What does that mean? I can't find the error codes documented anywhere. It's strange because the data gets inserted into the table then throws the exception...

View Article


How to get mysys.lib (no replies)

I have a Visual C++ Project that uses MySQL that I inherited. When I compiled it it gave me this error error LNK1104: cannot open file 'mysys.lib' The Linker requires this library. The question from...

View Article

library that contains mysql_init,mysql_query,mysql_fetch_row etc (1 reply)

I inherited a really old codebase in C++ that is communicating with MySQL database part of which is shown below. The question what library defines functions such as mysql_init and the ones mentioned...

View Article

going back to the jbad (no replies)

Ufc on Fox 11 Werdum vs Browne Live vk.com/ufconfox11livestream Ufc on Fox 11 Live facebook.com/ufconfox11livestream game of thrones season 4 episode 3...

View Article


Cannot get started with Visual Studio C++ 2010 (1 reply)

I have been using MySQL with PHP, Python and Perl for a couple of years now. I am not experienced with C++ or any compiled programming at all beyond some basics. -- Dynamic Versus Static Builds and...

View Article


fetching string from database (no replies)

Hello anyone. First, please forgive me my bad language then...please help me resolve my problem. I have little chunk of code: /* INSERT TUTORIAL CODE HERE! */ sql::Driver *driver =...

View Article

MySQL C++ Connector crashes executing INSERT with BLOB (no replies)

I've stuck with a problem, trying to insert text as blob value, MySQL C++ connector crashed with exception: "Access violation reading location". I've seen questions like this here, but none has been...

View Article

command out of sync (no replies)

I use C++ connector to connection with MYSQL.But when I want to execute two query in one connection ,It tell me command out of sync.I didn't use auto_ptr like connection document.This is my code:...

View Article

How to install c++ connector on CentOS release 6.5? (no replies)

Is there an easy way to install c++ connector on CentOS release 6.5. I've been looking through a lot of topics over the internet and nothing is very helpfull. I need an easy way like an executable...

View Article


libmysqlcppconn.so.5: cannot open shared object file: No such file or...

I built a simple c++ application using Netbeans on ubuntu. in the application I use mysql_connection and curl. the application is working fine on my local system (Ubuntu) when I tried to run the...

View Article

PreparedStatement can't work? (no replies)

Hi all, I am a new comer for mysql connector/c++ user. The PreparedStatement can't working in my project, but statement was fine. I had search so much time but no result for it. Version: mysql 5.0.18,...

View Article


Run connector on Vxworks? (no replies)

Have anyone tried to run the C connector on the Vxworks? Is it possible?

View Article

missing libmysql.lib file (1 reply)

I've set up everything as I should for vs 2012, I even have boost linked, but I got this LNK 1181 error for libmysql.lib. Why is this erro happening and how do I fix it?

View Article


Use mysql++, get a resultset with 10000 rows and iterate the resultset (no...

I use mysql++, get a resultset and iterate it like this: Query qr = conn->query(sql); UseQueryResult res = qr.use(); while(Row row = res.fetch_row()) { } The resultset has 10000 rows,this "While"...

View Article

mysql connector C++ with VS 2012 (no replies)

Hi, I have been trying to use mysql connector C++ with my application on Visual Studio 2012, I have followed the tutorial on mysql website step by step to statically link, I have added all the...

View Article

Deploying C++ Connector to linux. Painful or not? (no replies)

Hello, I just started using C++ connector, but I must admit, that the deploying it under Visual Studio 2013 was a really painful experience. (The package with built binaries didn't work due it being...

View Article
Browsing all 527 articles
Browse latest View live