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

How to use SSL ? (2 replies)

Is there a way to activate SSL using Connector/C++ ? Maybe using the C API for the setup process? Thanks TomBishop

View Article


Xcode C++ connector problem (2 replies)

I'm new to mysql and was looking to learn/play around with c++ and mysql. I'm running -mysql-5.1.45-osx 10.5-x86_64 - The include files are located in usr/local/mysql-5.1.45-osx10.5-x86-64...

View Article


UNCOMPRESS in select query (1 reply)

Hi, I am using the C++ connector, 1.0.5 and during my inserts the COMPRESS keyword work's great. It passes the query onto the server, and it does its needful. However, during prepared statements, the...

View Article

Prepared Statements - Incorrect behaviour (1 reply)

OS: Windows Vista, 32-bit Compiler: Visual Studio 9 2008 Connecter: 1.0.5 binary and a local compiled from source. // Statements // ********** static void test_statements(Connection *con) { Statement...

View Article

Get the list of Mysql database entries from a website (1 reply)

Hi What are the steps to Getting the list of Mysql database entries from a website? and showing them in a data container in visual c++.net windows form applications ? Thank you.

View Article


Procedure and Call (6 replies)

Hi All, I have successfully created a procedure in mysql. I am able to insert the data using variables when I am running from mysql command prompt. But when I am trying to call it from c program it is...

View Article

cmakelists.txt missing (1 reply)

Hi I am trying to build c++ connector for Mac OSX. I just downloaded the source and found that there is not cmakelists.txt. The tar.gz file has, ANNOUNCEMENT, COPYING, README, include, lib . I checked...

View Article

error C2664: 'sql::PreparedStatement::setString' : cannot convert parameter 2...

Hello I writes a program in Visual Studio 2008 Standard in CLR / C + +. The problem is that if I want to pass variable to function: pstmt-> setString (); the control TextBox1-> text as a string....

View Article


Problem with data entry by the functions setString() (5 replies)

Hello Does anyone to collect data from the keyboard, using streams (cin), or controls available in Visual C + + (textbox) used function setString(). If so, I asked for some examples.

View Article


[Solved] Can't connect MySQL (MySQL error code: 2013, SQLState: HY000 ) (2...

When I try to connect my MySQL database with MySQL Connector/C++ i get this error : Lost connection to MySQL server at 'reading initial communication packet', system error: 0 (MySQL error code: 2013,...

View Article

Mysql connector/c++ glibc detected invalid pointer (no replies)

Hello, I am trying to run the following code: try { sql::Driver *driver; sql::Connection *con; sql::Statement *stmt; sql::ResultSet *res; driver = get_driver_instance(); con =...

View Article

Connections hang during long running test (no replies)

Hi, It seems to be that during long running scaling test all db connections hangs. Example of hanging thread: "pool-8-thread-10" nid=220 state=RUNNABLE at java.net.SocketInputStream.socketRead0(Native...

View Article

Unicode (no replies)

Hello dear all. i have a project running with mysql database, all was fine till the moment when i was have to take the UTF-8 values from my database, the problem is next : when im trying to get an...

View Article


Create php extension with Mysql Connector C++ (1 reply)

Hi all, i want to create a php extension use Mysql Connector C++ to connect Mysql database. Hope receive your supports. Thank you very much.

View Article

how to get binary data out with Connector/C++ (no replies)

I'm using Connector/C++ v1.0.5 with MySQL server version 5.1.49 on Linux. I am creating a table with a binary field: CREATE TABLE mytable (id binary(16) not null primary key); and would like to get a...

View Article


debug library runtime error with visual studio 2005 (no replies)

Hello everyone, When I link with the debug library and I try to make a connection, I get a runtime error that Visual Studio traces back to the driver->connect statement and that ends in strlen.asm....

View Article

MS VS 2010 Express: Connecting c++ to mysql, "error LNK2001: unresolved...

Hello, Iam Pretty new to C++ and MYSQL. I managed to get a Mysql Server up including a test database. I also followed this Tutorial http://blog.ulf-wendel.de/?p=215 i put in the example code for...

View Article


Unhandled exception, Access violation reading location "adress" (1...

Hi all, Today I've been busy trying to get Connector/C++ to work with Visual Studio 2008 on my Windows Vista machine. After a while of searching I found the following...

View Article

prepared statements don't work! (5 replies)

Hey guys, I am pretty new to c++, and I am currently writing a program, which should use prepared statements to insert a specific value into the database. int main(void) { cout << endl; cout...

View Article

including mysql++ in existing 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
Browsing all 527 articles
Browse latest View live


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