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

sqlType in PreparedStatement::setNull() (1 reply)

setNull() seems to work whatever value is passed as sqlType. Is it normal ? Can i always leave sqlType to 0 ?

View Article


"# ERR: Can't connect to MySQL server on 'myserv.pl' <10060>...

Hello everyone! Few days ago I downloaded new mysql connector C++. Right now after lots of problems of integration this connector with visual c++ 2008 program compiles. But when im trying to connect...

View Article


MySQL++ DELETE INSERT ISSUE (no replies)

Hello Everyone, I have mysql++ 3.1.0 and MySQL 5.1.56-community (Server/Client) installed I have a multi-thread application, which each thread has its own connection to the DB, my problem is the...

View Article

newbie question about reusing connections (no replies)

I have SELECT queries that I need to run on regular intervals. I have created a sql::Connection object that I hold onto. Every interval I generate a sql::Statement from the connection I have and run...

View Article

string and SQLString: can't successfully execute statement (2 replies)

Hi, I'm trying to create a table lambda from the MySQL Connector C++ by two different ways. On the one hand, I'm passing a string, defined at a different line, to the execute() member of the statement...

View Article


[Help]How do not cache mysql client result (no replies)

I got the same problem in http://dev.mysql.com/doc/refman/5.0/es/out-of-memory.html. My c++ program will invoke a lot of SQL queries by some requirements. I find it can be solved by add options...

View Article

getBlob VC++ compile error (1 reply)

Hi: I have had success with the C++ connector in writing and reading data to a database, but I am unable to put together code to get a blob. My current attempt does not compile, and I've been unable...

View Article

Building from MySQL Connector C++ Source (Linux) (no replies)

Hello, I am able to successfully set up and use MySQL from building the source files. I wanted to build/compile MySQL Connector (C++) from the source, as well. However, I am running into the following...

View Article


Connector/C++ MySQL error code: 2014 , SQLState: HY000 and Commands out of...

Hi im using Connector/C++ and executing simple 2 sql commands like this : the first select sql run ok but the second one cause this exception error : ERR: Commands out of sync; you can't run this...

View Article


Outsourcing c++ developers jobs on aidayi (no replies)

We are looking for several c++ Developers to join our freelance market www.aidayi.com. This is a perfect role for any c++ Developer looking for freelance jobs. Experts with the following skills are...

View Article

Problem with C++ Connector on Visual Studio 2010 (1 reply)

Hi, I using mySQL Server (x64) and C++ Connector (x64) together with Microsoft Visual Studio 2010 Ultimate I tried building a program to connect to mySQL server via the connector but i also get the...

View Article

connector not working on different machines (1 reply)

Hi I have built MySQL Connector 1.1.0 C++ from source using Visual Studio 2008 on two different machines following the same procedure (both machines are using a windows XP operating system). I can...

View Article

Cannot Load Library Error 126 (no replies)

Hi folks, I've put together a DLL in Visual C++ which accesses a MySQL DB on my web server using the MySQL Connector C++ demo example on the site. I've got the thing running on my development machine...

View Article


there is some Conflicts with the file "stdAfx.h" (no replies)

i write a class for Control mysql database; but when i add it to my project: c:\Program Files\MySQL\MySQL Server 5.0\include\mysql.h(552) : error C2143: syntax error : missing “)”(before“Constant”)...

View Article

C++ & MySQL - I NEED URGENT HELP (no replies)

Hi all, I use MySQL with Java for years, and it's all straightforward and easy. Now a client ask me to develop a very simple application, but he impose the use of C++ with MySQL, because he's...

View Article


defining a global connection (no replies)

I am trying to modify the connect.cpp code. I am wondering how to define the connection parameter con as a global variable. I understand defining global variables is a bad practice in many cases, but...

View Article

mispost, how to delete? (no replies)

Sorry, wrong forum

View Article


tablespace (no replies)

what is tablespace and we rename tablespace?

View Article

uptime for database (no replies)

How can i know uptime for a database ?

View Article

Resize Tablespaces (no replies)

How can Resize Tablespaces And its application ?

View Article
Browsing all 527 articles
Browse latest View live


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