(mysql.info) windows-source-build
Info Catalog
(mysql.info) mit-pthreads
(mysql.info) installing-source
(mysql.info) windows-client-compiling
2.8.6 Installing MySQL from Source on Windows
---------------------------------------------
Menu
* windows-vc-plus-plus-build Building MySQL Using VC++
* windows-bitkeeper-build Creating a Windows Source Package from the Latest Development Source
These instructions describe how to build binaries from source for MySQL
5.0 on Windows. Instructions are provided for building binaries from a
standard source distribution or from the BitKeeper tree that contains
the latest development source.
MySQL on Windows from the latest source distribution or from the
BitKeeper tree. For production use, MySQL AB does not advise using a
MySQL server built by yourself from source. Normally, it is best to use
precompiled binary distributions of MySQL that are built specifically
for optimal performance on Windows by MySQL AB. Instructions for
installing a binary distributions are available in
windows-installation.
To build MySQL on Windows from source, you need the following compiler
and resources available on your Windows system:
* Visual Studio 2003 compiler system (VC++ 7.0).
* Between 3GB and 5GB disk space.
* Windows 2000 or higher.
The exact system requirements can be found here:
`http://msdn.microsoft.com/vstudio/productinfo/sysreqs/default.aspx'
You also need a MySQL source distribution for Windows. There are two
ways to obtain a source distribution:
1. Obtain a source distribution packaged by MySQL AB. These are
available from `http://dev.mysql.com/downloads/'.
2. You can package a source distribution yourself from the latest
BitKeeper developer source tree. If you plan to do this, you must
create the package on a Unix system and then transfer it to your
Windows system. (Some of the configuration and build steps require
tools that work only on Unix.) The BitKeeper approach thus
requires:
* A system running Unix, or a Unix-like system such as Linux.
* BitKeeper 3.0 installed on that system. See
installing-source-tree, for instructions how to download
and install BitKeeper.
If you are using a Windows source distribution, you can go directly to
windows-vc-plus-plus-build. To build from the BitKeeper tree,
proceed to windows-bitkeeper-build.
If you find something not working as expected, or you have suggestions
about ways to improve the current build process on Windows, please send
a message to the `win32' mailing list. See mailing-lists.
Info Catalog
(mysql.info) mit-pthreads
(mysql.info) installing-source
(mysql.info) windows-client-compiling
automatically generated byinfo2html