MySQL Forums
Forum List  »  Connector/C++

Installing MySQL++
Posted by: xx xxx
Date: January 28, 2009 05:24PM

The readme and installation files are a bit complicated.

So here is how I found my way around it:


Installing mysql++ For Windows
-Extract Files
-Go into the folder With Your VC++ version adn open resetdb project
-Go to file configuration and make sure the MySql include directory actually tallies with the MySql directory on your system.
-Do custom install of C development files for MySql
-In the case where your MySQL isn't installed in the default folder assumed by MySQL++ ( which is C:\Program FIles\MySQL 5.0 ...), go to the header files folder labelled lib in mysql++, and put in the correct part to the include statements for mysql_version.h, mysql.h. I changed this in common.h, type_info.cpp.
_apart from changing the path in these header files go thru the project properties n change all library and header file paths.
-the readme of MYSQL++ says you should run exrun.bat to test database.However, exrun.bat needs resetdb.exe to work, and resetdb hadn't been built. To build resetdb, in your compiler environment you need to build mysqlpp first to get the mysqlpp.lib.
-Build the applications
_and after that you good to go to example-readme.

Sorry all the file names might not match exactly, I just wrote this up after I spent hours and finally figured out what to do. Good luck.

Hope this helps someone out there.

Options: ReplyQuote


Subject
Views
Written By
Posted
Installing MySQL++
6539
January 28, 2009 05:24PM
3436
February 07, 2009 10:50AM
2941
February 23, 2009 12:28PM
2435
February 23, 2009 12:30PM
4825
February 23, 2009 12:31PM
2889
February 23, 2009 12:33PM
2523
February 23, 2009 12:27PM
2577
April 27, 2009 09:48AM


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.