C++ with MySQL
Posted by: Dean Montanaro
Date: February 25, 2011 07:23PM

Hi all,
I'm a complete, absolute beginner with MySQL and I would like to be able to use a MySQL database from within a C++ application... I've downloaded 'MySQL Server 5.5' and 'MySQL Connector C++ 1.1.0' and installed them both. I used HeidiSQL to create a few tables and populate them, just to test the installation was ok. Now I tried the following program http://www.suite101.com/content/using-a-mysql-databases-with-c-a70097 on Visual C++ 10.0 Express. I opened an empty project and started adding the code. What other include paths, library paths and settings do I need to add to the projrct to work?

tnks,
Dean

PS: btw sry for posting in the wrong section...



Edited 1 time(s). Last edit at 02/26/2011 08:31AM by Dean Montanaro.

Options: ReplyQuote


Subject
Views
Written By
Posted
C++ with MySQL
1717
February 25, 2011 07:23PM
796
March 21, 2011 11:01PM
715
May 14, 2011 06:00AM
720
July 02, 2011 03:10AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.