Installing Mysql From Source On Windows - Oracle 5.0 Reference Manual

Table of Contents

Advertisement

If you are running a version of Windows that supports services, you can set up the MySQL server
to run automatically when Windows starts. See
Service".

2.10.8. Installing MySQL from Source on Windows

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 Bazaar tree that
contains the latest development source.
To build MySQL on Windows from source, you must satisfy the following system, compiler, and
resource requirements:
• Windows 2000, Windows XP, or newer version.
Windows Vista is supported when using Visual Studio 2005 provided you have installed the following
updates:
Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack 1 (KB926601)
Security Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB937061)
Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB932232)
• To build from the standard source distribution, you will need CMake, which can be downloaded
from http://www.cmake.org. After installing, modify your
directory where
• Microsoft Visual C++ 2005 Express Edition, Visual Studio .Net 2003 (7.1), or Visual Studio 2005 (8.0)
compiler system.
• If you are using Visual C++ 2005 Express Edition, you must also install an appropriate Platform
SDK. More information and links to downloads for various Windows platforms is available from
www.microsoft.com/downloads/details.aspx?familyid=0baf2b35-c656-4969-ace8-e4c0c0716adb.
• If you are compiling from a Bazaar tree or making changes to the parser, you need
Windows, which can be downloaded from http://gnuwin32.sourceforge.net/packages/bison.htm.
Download the package labeled "Complete package, excluding sources". After installing the package,
modify your
• Cygwin might be necessary if you want to run the test script or package the compiled binaries and
support files into a Zip archive. (Cygwin is needed only to test or package the distribution, not to build
it.) Cygwin is available from http://cygwin.com.
• 3GB to 5GB of disk space.
There are three solutions available for building from the source code on Windows:
• Build from the standard MySQL source distribution. For this you will need
Express Edition or Visual Studio. Using this method you can select the storage engines that are
included in your build. To use this method, see
Source
Distribution".

Installing MySQL from Source on Windows

Note
The instructions here are strictly for users who want to test MySQL on Microsoft
Windows from the latest source distribution or from the Bazaar tree. For
production use, we do 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 Oracle
Corporation. Instructions for installing binary distributions are available in
Section 2.10, "Installing MySQL on Microsoft
is located.
cmake
environment variable to include the directory where
PATH
Section 2.10.4.7, "Starting MySQL as a Windows
Windows".
environment variable to include the
PATH
Section 2.10.8.1, "Building MySQL from the Standard
90
for
bison
is located.
bison
and Visual C++
CMake
http://

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 5.0 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Mysql 5.0

Table of Contents