Oracle 5.0 Reference Manual page 111

Table of Contents

Advertisement

• Build from the MySQL Windows source distribution. The Windows source distribution includes ready-
made Visual Studio solution files that enable support for all storage engines (except NDB). To build
using using method you only need Visual C++ Express Edition or Visual Studio. To use this method,
see
Section 2.10.8.2, "Building MySQL from a Windows Source
• Build directly from the Bazaar source repository. For this you will need CMake, Visual C++ Express
Edition or Visual Studio, and bison. For this method you need to create the distribution on a Unix
system and then copy the generated files to your Windows build environment. To use this method,
see
Section 2.10.8.5, "Creating a Windows Source Package from the Bazaar
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
Section 1.6.1, "MySQL Mailing
2.10.8.1. Building MySQL from the Standard Source Distribution
You can build MySQL on Windows by using a combination of
2003 (7.1), Microsoft Visual Studio 2005 (8.0) or Microsoft Visual C++ 2005 Express Edition. You must
have the appropriate Microsoft Platform SDK installed.
Follow this procedure to build MySQL:
1. If you are installing from a packaged source distribution, create a work directory (for example,
\workdir), and unpack the source distribution there using
can read
2. If you are installing from a Bazaar tree, the root directory of that tree is the work directory in the
following instructions.
3. Using a command shell, navigate to the work directory and run the following command:
C:\workdir>win\configure.js options
If you have associated the
need to use the following command to force
C:\workdir>cscript win\configure.js options
These options are available for configure.js:
• WITH_INNOBASE_STORAGE_ENGINE: Enable the
• WITH_PARTITION_STORAGE_ENGINE: Enable user-defined partitioning.
• WITH_ARCHIVE_STORAGE_ENGINE: Enable the
• WITH_BLACKHOLE_STORAGE_ENGINE: Enable the
• WITH_EXAMPLE_STORAGE_ENGINE: Enable the
• WITH_FEDERATED_STORAGE_ENGINE: Enable the
• MYSQL_SERVER_SUFFIX=suffix: Server suffix, default none.
• COMPILATION_COMMENT=comment: Server comment, default "Source distribution".
Installing MySQL from Source on Windows
Lists".
Note
To compile from the source code using
source distribution (for example, mysql-5.0.96.tar.gz). You build from the
same distribution as used to build MySQL on Unix, Linux and other platforms.
Do not use the Windows Source distributions as they do not contain the
necessary configuration script and other files.
files. This directory is the work directory in the following instructions.
.zip
file extension with an application such as a text editor, then you may
.js
Distribution".
cmake
you must use the standard
CMake
WinZip
to be executed as a script:
configure.js
storage engine.
InnoDB
storage engine.
ARCHIVE
BLACKHOLE
storage engine.
EXAMPLE
FEDERATED
91
Repository".
mailing list. See
win32
and Microsoft Visual Studio .NET
or another Windows tool that
storage engine.
storage engine.
C:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents