The Windows source distribution includes the necessary solution
file and the vcproj files required to build
each component. Using this method you are not able to select the
storage engines that are included in your build.
VC++ workspace files for MySQL 4.1 and above are compatible with Microsoft Visual Studio 7.1 and tested by us before each release.
Follow this procedure to build MySQL:
Create a work directory (for example,
C:\workdir).
Unpack the source distribution in the aforementioned
directory using WinZip or another Windows
tool that can read .zip files.
Start Visual Studio .Net 2003 (7.1).
From the File menu, select Open Solution....
Open the mysql.sln solution you find in
the work directory.
From the Build menu, select Configuration Manager....
In the Active Solution Configuration pop-up menu, select the configuration to use. You likely want to use one of nt (normal server), Max nt (more engines and features), or Debug configuration.
From the Build menu, select Build Solution.
Debug versions of the programs and libraries are placed in
the client_debug and
lib_debug directories. Release versions
of the programs and libraries are placed in the
client_release and
lib_release directories.
You should test you build before installation. See Section 1.8.4, “Testing a Windows Source Build”.
To install, use the instructions in Section 1.8.3, “Installing MySQL from a Source Build on Windows”.

User Comments
How to Build MySQL 5.5 from Source Code on Windows
http://www.chriscalender.com/?p=689
Add your own comment.