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

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 Article


mysqlpp::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 Article


MySQL 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 Article

the 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 Article

SQLString.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 Article


undefined 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 Article

Mysql 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 Article

How 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 Article


Prepared 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 Article


SQLString 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 Article

dyld: 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 Article

problem 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 Article

Unable 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 Article


SQLException - 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 Article

C 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 Article


Escaping 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 Article

Undefined 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 Article


A 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 Article

MySQL 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 Article

Connector 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
Browsing all 527 articles
Browse latest View live


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