- 2.8.1 源码安装方法2.8.1 Source Installation Methods
- 2.8.2 源码安装先决条件2.8.2 Source Installation Prerequisites
- 2.8.3 MySQL 源码布局安装2.8.3 MySQL Layout for Source Installation
- 2.8.4 使用标准源代码分发安装 MySQL2.8.4 Installing MySQL Using a Standard Source Distribution
- 2.8.5 使用开发源代码树安装 MySQL2.8.5 Installing MySQL Using a Development Source Tree
- 2.8.6 配置 SSL 库支持2.8.6 Configuring SSL Library Support
- 2.8.7 MySQL 源配置选项2.8.7 MySQL Source-Configuration Options
- 2.8.8 处理编译问题 MySQL2.8.8 Dealing with Problems Compiling MySQL
- 2.8.9 MySQL 配置和第三方工具2.8.9 MySQL Configuration and Third-Party Tools
- 2.8.10 生成 MySQL Doxygen 文档内容2.8.10 Generating MySQL Doxygen Documentation Content
从源代码构建 MySQL 使您能够自定义构建参数,编译器优化和安装位置。有关已知运行 MySQL 的系统列表,请参阅 https://www.mysql.com/support/supportedplatforms/database.html。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 https://www.mysql.com/support/supportedplatforms/database.html.
在从源代码继续安装之前,请检查 Oracle 是否为您的平台生成预编译的二进制发行版以及它是否适合您。我们投入了大量的精力来确保我们的二进制文件是使用最佳选项构建的,以实现最佳性能。有关安装二进制发行版的说明,请参阅第 2.2 节“使用通用二进制文件在 Unix/Linux 上安装 MySQL”。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”.
如果您有兴趣使用与 Oracle 在您的平台上生成二进制发行版相同或相似的构建选项从源发行版构建 MySQL,请获取二进制发行版,解压它,然后查看 docs/INFO_BIN 文件,其中包含有关如何配置和编译 MySQL 发行版的信息。If you are interested in building MySQL from a source distribution
using build options the same as or similar to those use by Oracle to
produce binary distributions on your platform, obtain a binary
distribution, unpack it, and look in the
docs/INFO_BIN file, which contains information
about how that MySQL distribution was configured and compiled.
使用非标准选项构建 MySQL 可能会导致功能、性能或安全性降低。Building MySQL with nonstandard options may lead to reduced functionality, performance, or security.
MySQL 源代码包含使用 Doxygen 编写的内部文档。生成的 Doxygen 内容可从 https://dev.mysql.com/doc/index-other.html 获取。还可以使用第 2.8.10 节“生成 MySQL Doxygen 文档内容”中的说明从 MySQL 源代码分发本地生成此内容。The MySQL source code contains internal documentation written using Doxygen. The generated Doxygen content is available at https://dev.mysql.com/doc/index-other.html. It is also possible to generate this content locally from a MySQL source distribution using the instructions at Section 2.8.10, “Generating MySQL Doxygen Documentation Content”.