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

MySQL Connector/C++ (x64) and Visual Studio 2010 (no replies)

Has anyone managed to have a working MySQL Connector/C++ with Visual Studio 2010? I downloaded some binaries (probably built with VS2008) and my debug test application works fine with them, but does...

View Article


Runs sql-scripts with mysql++ (no replies)

Hello, I want to create a c++ program to start different sql-scripts. But I get always the same failure, so I tried it like this: sqlConnection->query("SET @tableName:='car.Position';"); if...

View Article


*** glibc detected *** free(): invalid pointer: (no replies)

mysql-connector-c++-1.1.0 boost_1_48_0 Read that this was a problem relating to OO.o, but I am not using it. *** glibc detected ***...

View Article

While( res->next() ) fails on second following (no replies)

While( res->next() ) fails one second loop thru the rows. --------------------------------- if( verbose ) printf( "Updating Preferred NASDAQ database\n" ); try { res = stmt->executeQuery("SELECT...

View Article

Stored procedure + preparedStatement + autocommit=0 doesn't work! (no replies)

Hello, i don't understand what is going to happen... this is my simple code: -------------------------------------------------------------------------- conn->setAutoCommit(0); preparedStmt =...

View Article


c++ mysql stored procedure error code 2014 (no replies)

I use FreeBsd 8.0 amd64 and this package mysql-client-5.1.61, mysql-connector-c++-1.1.0, mysql-server-5.1.61 and gcc 4.2.1 I have this code string vU="demo",vP="1234"; Driver * vDriver =...

View Article

dll script creation (no replies)

How to generate .dll script for a particular database in mysql...? I am using wamp server...

View Article

c++ mysql stored procedure error code 1064, SQLState: 42000 (no replies)

I use FreeBsd 8.0 amd64 and this package mysql-client-5.1.61, mysql-connector-c++-1.1.0, mysql-server-5.1.61 and gcc 4.2.1 I have this procedure CREATE PROCEDURE add() begin DECLARE vEvId int DEFAULT...

View Article


Problem with string encoding (no replies)

When I use connector/C++ to retrieve a string with non-ascii characters, I get wrong results. Using libmysqlclient, I get the expected string. My client and SQL server both run on the same system...

View Article


[Resolved Wrong results in example 2. (no replies)

I think i used a wrong version of "libmysql.dll". So sry. :D ============================================================================= Sorry for my English. I got the same problem with this topic:...

View Article

How can I link to the Debug and Release libraries easily in Visual Studio...

Hi all, I'm developing my application with Visual Studio 2008. I've already installed Connector-C 6.0.2 win32 and Connector-C++ 1.1.0 win32. Two sub-directories exist within the "MySQL Connector C++...

View Article

[VS'08 C++ ] SEHException while try connect to db (no replies)

cppconn 1.0.5, MySQL 5.5.1 win7x32 Hi, i have code example from MySQL Connector/C++ manual, and i'm getting SEHException while try connect to db like this: std::auto_ptr<sql::Connection>...

View Article

Is mysql_query thread-safe if I init one mysql connection per thread? (no...

what I want to know is that is mysql_query or other mysql function in C api thread-safe with the following conditions: 1. using the libmysqlclient.so but not the libmysqlclient_r.so 2. in every...

View Article


OS indipendent library (no replies)

Hi, I'm developing a part of client application (connection/autentication/record insertion)over custom processor without OS. I would like to know if exist documentation about client/server...

View Article

Driver::connect hangs (1 reply)

I have successfully connected to a remote database, where access is dependent on my ip address. When I try from a different ip address (eg, took my computer home), Driver::connect hangs. Obviously, I...

View Article


the error in Linux:Missing Libmysql.dll (no replies)

When i use c# code to connect mysql in my linux system, I found this error: missing libmysql.dll. I dont know how to add libmysql.dll to the linux system,what do i need to do? Is there any body can...

View Article

Dynamic (Variable) Connection (1 reply)

I'm trying to connect with variables values ​and not working .. how do I do? my code: http://pastebin.com/RaJC65Kg ty

View Article


C + + MySQL through a proxy (no replies)

Hi, I programmed in C + + Builder 6. In connection with the database using: mysql_server_init(0, NULL, NULL); db = mysql_init(NULL); Con= mysql_real_connect(db, "ip", "user", "pass", "base_name",...

View Article

Mysql Connector 1.10 - Get_driver_instance other fixes did not work (2 replies)

Hi All, I trying the mysql connector (v 1.1.0, included with the mysql installer I used on my machine), and I am having a hell of a time with it. I am trying to follow the example here:...

View Article

Trying to work C++ Connector x64 with Visual Studio 2010 (4 replies)

Dear MySQLers, I've recently installed MySQL C++ Connector, and I'm running into problems once I actually try to make a connection. I would very much appreciate hearing any thoughts that people have...

View Article
Browsing all 527 articles
Browse latest View live


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