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

mysqlcppconn.dll Cannot find or open PDB file (no replies)

I am trying to build a simple MySQL db application in VC++ and have run into a slight problem. I am using MySQL Connector C++ 1.1.0 and Visual Studio 2012 (Premium if that matters) <code> //...

View Article


/usr/bin/ld: cannot find -lmysqlcppconn (no replies)

Hi New in c++ and im trying to connect to mysql database did in java works fine.when to do it in c++ project followed all the instruction from http://planet.mysql.com/entry?id=18341;but it gives me...

View Article


Application getting crashed in windows server 2012 (no replies)

Hi, My application uses MySQL ODBC Connector version 3.51.27 and my application is written in c++ and uses MySQL connector/c++ to connect to MySQL.The application getting crashed while using the ODBC...

View Article

Limit on result set (no replies)

Hi Is there any limitation about returned resultset on number of returned rows or size of returned rows? Probably my resultset will be more than 100000 rows. Thanks

View Article

Cannot connect to a MySQL database from a C++ program with MySQL...

I have a connection problem to a MySQL database from a C++ program: std::string server, user, password; SetParams(server, user, password); boost::shared_ptr<sql::Connection> conn; sql::Driver...

View Article


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

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


Error in using mysql-connector-c++-1.1.2-linux-glibc2.3-x86-32bit (no replies)

I have an error compiling C++ project using mysql-connector-c++-1.1.2-linux-glibc2.3-x86-32bit i got this error usr/bin/ld: warning: libmysqlclient.so.18, needed by...

View Article


MySQL C++ Connector won't connect - returns unrecognized or ambiguous flag...

I am creating a c++ program that will connect to an existing, live, functioning MySQL dB. I cut-n-pasted the example program in, for verifying being able to get a connection. THAT example code...

View Article

MySQL - Connector with Code::Blocks Windows XP 32bit (no replies)

I have a problem with the connector. The integration from the includes an libs in Code::Blocks works well, compiling too. But when starting the application, it crashes everytime when open the...

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

Access violation in my project, works in new project (1 reply)

My project compiles fine if I insert some code from the examples, but the program crashes with: Unhandled exception at 0x552CEB8C (msvcr110d.dll) in comClient.exe: 0xC0000005: Access violation reading...

View Article


Prepared Statements: setInt always 0 (no replies)

Hi! first of all i have to exuse me for my english! obviously i want to access my database with c++. I downloded the "mysql-connector-c++-1.1.2.tar" and compiled it with cmake and msvc2010. then i...

View Article

Connector does not work (no replies)

I'm try to use this example http://dev.mysql.com/doc/refman/5.6/en/connector-cpp-examples-complete-example-1.html I'm download c++ connector, put dll here: C:\Program Files (x86)\Microsoft Visual...

View Article


Error LNK2031, LNK2028, LNK2019, LNK2001 (no replies)

So I was able to successfully build a program in visual c++ using a command prompt. It was a simple program to read from the database then write to the database based on some variable. So I decided to...

View Article

error: 'EXAMPLE_FUNCTION' was not declared in this scope (no replies)

Greetings all. This is my first post on the forum. I'm trying to learn how to use C++ and MySQL together. To that end, I have dusted off my C++ reference and installed Code::Blocks and the MySQL...

View Article


c++ & c connector build with VS12 (no replies)

Hello, is there a download for the c++ and c connector allready build with VS12 in Release Mode? I cant compile it by myself (linking errors) and with the prebuild download my project is crashing in...

View Article

How to convert std::string to SQLString in Visual Studio 2010 using...

I am unable to convert an std::string to SQLString which is used for most functions as parameters. I have tried: const string query ("select * from table_name"); SQLString query_sql(query); -- didn't...

View Article

Compile Error (no replies)

I get the following error when I try to compile a connector c++ program. $ g++ -o test test.cpp -L/usr/include/mysql -lmysqlclient -I/usr/include/mysql In file included from...

View Article
Browsing all 527 articles
Browse latest View live


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