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,
Unpack the source distribution in the aforementioned
directory using WinZip or another Windows
tool that can read
Start Visual Studio .Net 2003 (7.1).
From the File menu, select Open Solution....
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
lib_debug directories. Release versions
of the programs and libraries are placed in the
You should test you build before installation. See Section 22.214.171.124, “Testing a Windows Source Build”.
To install, use the instructions in Section 126.96.36.199, “Installing MySQL from a Source Build on Windows”.