2.1.2 Which MySQL Version and Distribution to Install要安装的MySQL版本和发行版

When preparing to install MySQL, decide which version and distribution format (binary or source) to use.准备安装MySQL时,请决定使用哪个版本和分发格式(二进制或源代码)。

First, decide whether to install a development release or a General Availability (GA) release. Development releases have the newest features, but are not recommended for production use. 首先,决定是安装开发版本还是安装通用可用性(GA)版本。开发版本具有最新的功能,但不建议用于生产。GA releases, also called production or stable releases, are meant for production use. We recommend using the most recent GA release.GA发行版,也称为生产版或稳定版,用于生产使用。我们建议使用最新的GA版本。

The naming scheme in MySQL 8.0 uses release names that consist of three numbers and an optional suffix (for example, mysql-8.0.1-dmr). The numbers within the release name are interpreted as follows:MySQL 8.0中的命名方案使用由三个数字和一个可选后缀组成的发布名称(例如mysql-8.0.1-dmr)。发布名称中的数字解释如下:

Release names can also include a suffix to indicate the stability level of the release. Releases within a series progress through a set of suffixes to indicate how the stability level improves. The possible suffixes are:发布名称还可以包括一个后缀,以指示发布的稳定性级别。一个系列中的发布通过一组后缀进行,以指示稳定性级别如何提高。可能的后缀有:

Development within a series begins with DMR releases, followed by RC releases, and finally reaches GA status releases.一个系列的开发从DMR版本开始,然后是RC版本,最后是GA状态的版本。

After choosing which MySQL version to install, decide which distribution format to install for your operating system. For most use cases, a binary distribution is the right choice. Binary distributions are available in native format for many platforms, such as RPM packages for Linux or DMG packages for macOS. 选择要安装的MySQL版本后,决定为您的操作系统安装哪种分发格式。对于大多数用例,二进制分布是正确的选择。二进制发行版以原生格式适用于许多平台,例如Linux的RPM包或macOS的DMG包。Distributions are also available in more generic formats such as Zip archives or compressed tar files. 发行版也有更通用的格式,如Zip档案或压缩的tar文件。On Windows, you can use the MySQL Installer to install a binary distribution.在Windows上,您可以使用MySQL安装程序安装二进制发行版。

Under some circumstances, it may be preferable to install MySQL from a source distribution:在某些情况下,最好从源发行版安装MySQL: