MySQL Forums
Forum List  »  Connector/C++

Re: Installing MySQL++
Posted by: Frank Zhang
Date: February 23, 2009 12:31PM

1> Download mysql++-3.0.9.tar.gz (2.6 MB, 2009.02.04)
2> Use 7-zip to extract twice on the tar.gz
3> Rename folder to “MySQL++” and move this folder to C:\
4> Open MySQL ++ folder and double click install.exe
5> Check Segregate native C++ library builds from C++/CLI (CLR) builds and libraries by platform, then click Install Now.
6> Download mysql-5.0.77 ZIP/Setup.EXE (must be winx86 not winx64) and choose install complete not typical.
7> Download bakefile_0.2.5.exe , and install it.
--a. Then open CMD, go to C:\ MySQL ++\
--b. Then types “rebake” and enter.
8> Open Visual Studio 2008, Create new Win32 Console Application, then go to 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> Go to CMD C:\ MySQL ++\, enter “exrun resetdb –u root –p yourpassword”
11> Then open mysql++.sln in C:\ MySQL ++\vc2008\ folder, and rebuild it
12> Go to CMD C:\ MySQL ++\vc2008\debug and type “simple1 –u root –p yourpassword” then it will compiled and get output.

Options: ReplyQuote


Subject
Views
Written By
Posted
6689
January 28, 2009 05:24PM
3546
February 07, 2009 10:50AM
3021
February 23, 2009 12:28PM
2488
February 23, 2009 12:30PM
Re: Installing MySQL++
4934
February 23, 2009 12:31PM
2960
February 23, 2009 12:33PM
2572
February 23, 2009 12:27PM
2631
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.