Spec-Zone .ru
спецификации, руководства, описания, API

2.9. Installing MySQL from Source

2.9.1. MySQL Layout for Source Installation
2.9.2. Installing MySQL Using a Standard Source Distribution
2.9.3. Installing MySQL Using a Development Source Tree
2.9.4. MySQL Source-Configuration Options
2.9.5. Dealing with Problems Compiling MySQL
2.9.6. MySQL Configuration and Third-Party Tools

Building MySQL from the source code enables you to customize build parameters, compiler optimizations, and installation location. For a list of systems on which MySQL is known to run, see Section 2.1.1, "Operating Systems Supported by MySQL Community Server".

Before you proceed with an installation from source, check whether Oracle produces a precompiled binary distribution for your platform and whether it works for you. We put a great deal of effort into ensuring that our binaries are built with the best possible options for optimal performance. Instructions for installing binary distributions are available in Section 2.2, "Installing MySQL on Unix/Linux Using Generic Binaries".

Source Installation Methods

There are two methods for installing MySQL from source:

Source Installation System Requirements

Installation of MySQL from source requires several development tools. Some of these tools are needed no matter whether you use a standard source distribution or a development source tree. Other tool requirements depend on which installation method you use.

To install MySQL from source, your system must have the following tools, regardless of installation method:

To install MySQL from a standard source distribution, one of the following tools is required to unpack the distribution file:

To install MySQL from a development source tree, the following additional tools are required:

Note

If you have to install any programs, modify your PATH environment variable to include any directories in which the programs are located. See Section 4.2.4, "Setting Environment Variables".

If you run into problems and need to file a bug report, please use the instructions in Section 1.7, "How to Report Bugs or Problems".