problems regarding including mysql++ libraries in a Makefile (no replies)
Hi all, Kindly someone help me in resolving my problem. I want to include the mysql++ header file in a makefile or one software. Here is what I need to do. I have one open source software which...
View Articlemysqlpp::Connection conn(false); causing glibc (no replies)
I have moved my program to my new computer that (to the best of my knowledge has all the same software installed). Every time I try to connect to my database and server I get a glib c error. Double...
View ArticleMySQL Connector/C++ and multiple stored procedures execution (3 replies)
Dear Friends, I've received lately quite common (as I've researched) error, which occurs as following SQLException: Commands out of sync; you can't run this command now The problem is a bit...
View Articlethe file "mysqlcppconn.dll" in mysql Connector/C++ 1.1 did not work...
I first download the Connector/C++ 1.1 Found the function export from the "mysqlcppconn.dll" not correct. I use the "Dependency Walker"(depends) to check the function that found: only three function...
View ArticleSQLString.h Missing (1 reply)
I am unable to get the C++ connector for MySQL to compile with my project. I'm using MS VC++ 2008 and the latest version of MySQL server. I have installed MySQL with the development package (includes,...
View Articleundefined reference to `_imp__get_driver_instance' (no replies)
I am using Windows 7 x64 with Code::Blocks and GCC compiler vesion 4.4.1 and I am getting undefined reference to `_imp__get_driver_instance' error when I attempt to compile, I know its a linker error...
View ArticleMysql doesn't have Backward Cursor? Is it true? (1 reply)
Someone told me MySql does not support Backward Cursor yet. You can only go forward. I am using C++ Connector and MySql 5. Is it true?
View ArticleHow to set the query time out in Connector/c++(not mysql++)? (1 reply)
How to set the query time out in Connector/c++(not mysql++)?
View ArticlePrepared Statement continuously returning null set (1 reply)
I'll admit I'm new at this (clearly, this being my second post in several hours). The basic setup is such: I'm currently using two C++ applications I wrote to connect to eachother. One machine serves...
View ArticleSQLString anomaly (no replies)
I've been having [many] issues configuring the C++ connector including an application crash from ResultSet::getString(""), app crash while getting a driver instance, countless link errors with no...
View Articledyld: Library not loaded: libmysqlclient.16.dylib (no replies)
Hi, trying to test connector c++ and am getting following error when clicking on the application when building http://dev.mysql.com/doc/refman/5.1/en/connector-cpp-examples-complete-example-1.html -...
View Articleproblem building mysql-connector-c++-1.1.0 from source on windows (1 reply)
Hello all, I'm trying to compile using visual studio linking against mysql-connector-c-6.0.2 I used CMake using the following command line cmake -G "Visual Studio 9 2008"...
View ArticleUnable to Connect to MySQL (no replies)
I'm using NetBeans 6.9.1 and cygwin C++ on Windows Vista (wampserver, mysql 5.1.36). I'm unable to get a basic mysql connection to work and would really appreciate any advice! This compiles fine. When...
View ArticleSQLException - MEMORY_ALLOC_OPERATORS(SQLException) (no replies)
1>Compiling... 1>LsiApplication.cpp 1>c:\program files\mysql\mysql connector c++ 1.1.0\include\cppconn\exception.h(96) : error C2059: syntax error : 'string' 1>c:\program files\mysql\mysql...
View ArticleC API for copying/duplicating a database (no replies)
Hi, Is there a default C API for mysql that works similar to the mysqldump utility? Basically i cannot call the mysqldump utility from my program. I want to duplicate a database from the application....
View ArticleEscaping Strings (4 replies)
What is the procedure to escape strings with the C++ connector API? Using the C connector there is a function called mysql_escape_real_string. Is there an interface to get to that or similar? I know...
View ArticleUndefined symbol _get_driver_instance() Netbeans 6.9.1,Mac OSX 10.6.4 (no...
Hi every body! I'm new to MySQL connector C++. I've tried a sample code to build a simple application, that in hope to run on Mac OSX 10.6.4 IDE that i use: Netbeans C++ 6.9.1 The required libraries...
View ArticleA problem for using mysql-connector-c++-noinstall-1.0.5-win32-vs2005 (no...
I write a mini software in vs2005(win32), which uses mysql database. It works well in my computer (OS: Windows-XP-SP3). But it doesn't work in windows2003. I remove the codes about mysql, recompile...
View ArticleMySQL Connector C++ 1.1 Dynamic linking causes run-time error. (1 reply)
Hi. I am developing an x86 C++ application and I'm going to connect my application to my mysql 5.1 server. I am using Windows 7 Ultimate x64 and Visual Studio 2008 Team System x64 as my IDE. I have no...
View ArticleConnector linking problem (2 replies)
I'm having a linking problem with MySQL Connector/C++. I have included these files: #include "mysql_connection.h" #include <cppconn/driver.h> #include <cppconn/exception.h> #include...
View Article