Getting seg faults in SQLString (1 reply)
The backtrace generally looks like this - Program received signal SIGABRT, Aborted. 0x0012e416 in __kernel_vsyscall () (gdb) backtrace #0 0x0012e416 in __kernel_vsyscall () #1 0x00528e71 in raise ()...
View ArticleCan't compile mysql C++ connector on VC++ 2010 Express (no replies)
Hello, I haven't managed to compile mysql C++ connector on VC++ 2010 Express. Generated solution through CMake. When I try to build the solution, I receive bunch of errors like the one shown below....
View ArticleCan't get C++ connector to work with Microsoft Visual C++ 2010 (no replies)
I can't get the C++ connector to work, I've read different tutorials including the ones on dev.mysql.com . But i just can't seem to get anything to work, getting different errors. Boost aint making it...
View ArticleLost Connection during Query Error (no replies)
Hello together, i've following problem when trying to insert data into mysql server from different host. I get the Exception "Lost Connection during Query". I'm using c++ connector on linux. I've...
View ArticleConnector/C++ vs MySQL++ (no replies)
I have not been able to find a discussion of the pros and cons of Connector/C++ vs MySQL++. The latest versions of both products appear to be about 2 years old with MySQL++ being much older. The fact...
View ArticleCan't compile mysql C++ connector SQLString Error (no replies)
Errors: 1> Creating library .\Release/testing_mm.lib and object.\Release/testing_mm.exp 1>testing_mm.obj : error LNK2019: unresolved external symbol"__declspec(dllimport) public:...
View ArticleC++ MySQL Connector 1.1.0 Throws exception but query succeeds (no replies)
The C++ MySQL Connector is throwing exceptions every time I try to insert a record into one of my MySQL tables. The error code is (MySQL error code: 0, SQLState: 00000) but the query is successful. I...
View ArticlePrepared Statements not getting closed (no replies)
Using MySQL Connector C++ 1.1.0 MySQL server 5.5 I'm having a problem with prepared statements not getting closed every time even though I explicitly close the prepared statement in my method. The...
View ArticleMySQL Connector/C++ 1.1.1: Microsoft Visual Studio 2010 (no replies)
Dear MySQL Users, A new GA (general availability) version of MySQL Connector/C++ has been made available: MySQL Connector/C++ 1.1.1 GA. The MySQL Connector/C++ provides a C++ API for connecting client...
View ArticleHow can I get the auto generated key after insert? (no replies)
Hello I want to get the auto generated key after insert,I found there is one overloaded function in connection.h for prepareStatement. PreparedStatement * prepareStatement(const sql::SQLString&...
View ArticleNot able to connect using standalone_example (no replies)
Hi there, I have installed mysql connector C++ but I have some trouble in connecting to the db. I used the simple standalone_example_docs1.cpp and when It tried to connect to the db (line 43: con =...
View ArticleRed Hat Linux Enterprise Server 4.0 (no replies)
Two And A Half Men Season 10 Episode 1Version: '4.0.13-max-debug' socket: '' port: 3306 Assertion failed: pos != (~(my_off_t) 0), file c:\src\mysqlwin-autobuild\build\mysql-4.0.13\mysys\my_seek.c,...
View Articlewhere can i find the example of the Connector/C++? (-1 replies)
where can i find the example of the Connector/C++? In refman-5.5-en.pdf i can find some article about example,but i can not find it in C:\Program Files\MySQL
View ArticleHow to prevent program from crashing if mysql host is not reachable (no replies)
I'm using the MySQL Connector for c++ I'm trying to connect to a remote MySQL server which happens to be offline at the moment and I noticed that my program throws an exception and aborts!! It is OK...
View Article64 bit build for C++ connectors (4 replies)
Hi, I'm trying to rebuild an existing (and working) DLL which connects MetaTrader to MYSQL. I've installed the SDK, the compiler updates and everything suggested. I get a 'succesfull' build in Visual...
View ArticleError 1102 Incorrect Database Name (no replies)
I have no clue what this means, tried connecting to mysql server with the following driver = sql::mysql::get_mysql_driver_instance() connection = driver->connect("//<ip>", username, password)...
View Articleexample for connector in visual studio 2008 (no replies)
To test the c++ mysql connector I reset my mysql(DBMS),download the boost library, the sqlstring.h . now I test the example here:...
View ArticleCan't compile in MS Visual Studio 2010 due to a missing file 'libmysql.lib'...
I downloaded the 64-bit MSI package. And it seems to be missing this one file: libmysql.lib where can I get this file? thanks Pavan
View ArticleMysql C++ connector crash issues (no replies)
Team, I am trying to use mysqlclient version 16 and Mysql c++ connector to connect to the Mysql database and perform some DB operations. The code for our product relying on these libraries is already...
View ArticleConn->close() crashes (no replies)
Conn->close() crashes, i dont know why and this happens some times, iam not able to decipher why? Our production code uses and it crashes some times and gives nightmare to us from customers? Any...
View Article