MySQL Forums
Forum List  »  Connector/C++

Installing MySQL++ ( it works for me)
Posted by: Frank Zhang
Date: February 23, 2009 09:46AM

It took my almost 3 days to figured it out after google a lot, and I decided to put the tutorial here so it can save your alot time to google yourself. Good luck!

==============================================================
1) Download mysql++-3.0.9.tar.gz (2.6 MB, 2009.02.04) (http://tangentsoft.net/mysql++/)
2) Use 7-zip to extract twice on the tar.gz
3) Rename folder to “mySQL++” and move this folder to C:\ or D:\
4) Open mySQL++ folder and double click install.hta
5) Check Segregate libraries by platform, then click Install Now.
6) Download mysql-5.0.77 ZIP/Setup.EXE (http://dev.mysql.com/downloads/mysql/5.0.html#win32, must be WINx86 not WINx64, because I tried x64 on my x64 laptop and i always get error while i compile the simple that included in mySQL++ folder), and choose install complete not typical.
7) Download bakefile_0.2.5.exe from (http://www.bakefile.org) , and install it.
a. Then open CMD, go to C:\mySQL++\
b. Then type rebake and enter.
8) Open Visual Studio 2008, open mysql++.sln in vc2008 folder (C:\mysql++\vc2008\mysql++.sln) , then go tool -> Options -> Projects and Solutions -> VC++ Directories
a. Executable files, add C:\Program Files\MySQL\MySQL Server 5.0\bin
b. Include files, add C:\mySQL++\include and D:\Program Files\MySQL\MySQL Server 5.0\include
c. Library files, add C:\mySQL++\lib
9) Right click on Solution project and select Property -> Linker -> Input, and then add “mysqlpp_d.lib” in Additional Dependencies.

10) Then go to CMD C:\mysql++\, enter exrun resetdb -u root -p yourpassword and click Enter

11) Then you can rebuild the mysql++.sln and go to CMD (C:\mysql++\vc2008\debug\simple1 -u root -p yourpassword) to see if it works.
================================================================

Have FUN!!!!!!!!!!!!!

Options: ReplyQuote


Subject
Views
Written By
Posted
Installing MySQL++ ( it works for me)
4384
February 23, 2009 09:46AM


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.