2.3.7 Windows Source Distribution
You will need the following:
Building MySQL:
-
Create a work directory (for example, `workdir').
-
Unpack the source distribution in the aforementioned directory.
-
Start the VC++ 6.0 compiler.
-
In the
File
menu, select Open Workspace
.
-
Open the `mysql.dsw' workspace you find on the work directory.
-
From the
Build
menu,
select the Set Active Configuration
menu.
-
Click over the screen selecting
mysqld - Win32 Debug
and click OK.
-
Press
F7
to begin the build of the debug server, libraries, and
some client applications.
-
When the compilation finishes, copy the libraries and the executables
to a separate directory.
-
Compile the release versions that you want, in the same way.
-
Create the directory into which to install the MySQL stuff (for example,
`c:\mysql').
-
From the `workdir' directory copy into the
c:\mysql
directory the
following directories:
-
Create the directory `c:\mysql\bin' and copy into it all the servers
and clients that you just compiled.
-
If you want, also create the `c:\mysql\lib' directory and copy the
libraries that you just compiled.
-
Do a clean using Visual Studio.
Set up and start the server in the same way as for the binary
Windows distribution. See section 2.1.1.2 Preparing the Windows MySQL Environment.
Add your own comment.