Azure Database for MySQL 版本支持策略Azure Database for MySQL version support policy

此页面介绍 Azure Database for MySQL 版本控制策略。This page describes the Azure Database for MySQL versioning policy.

备注

将要查看的是 Azure Database for MySQL 的新服务。You are viewing the new service of Azure Database for MySQL. 若要查看经典 MySQL Database for Azure 的文档,请访问此页To view the documentation for classic MySQL Database for Azure, please visit this page.

支持的 MySQL 版本Supported MySQL versions

使用 InnoDB 存储引擎通过 MySQL 社区版开发了 Azure Database for MySQL。Azure Database for MySQL has been developed from MySQL Community Edition, using the InnoDB storage engine. 该服务支持社区目前支持的所有主版本,即 MySQL 5.6、5.7 和 8.0。The service supports all the current major version supported by the community namely MySQL 5.6, 5.7 and 8.0. MySQL 使用 X.Y.Z 命名方案,其中 X 为主版本,Y 为次要版本,Z 为 bug 修复版本。MySQL uses the X.Y.Z naming scheme where X is the major version, Y is the minor version, and Z is the bug fix release. 有关方案的详细信息,请参阅 MySQL 文档For more information about the scheme, see the MySQL documentation.

备注

在服务中,网关用于将连接重定向到服务器实例。In the service, a gateway is used to redirect the connections to server instances. 建立连接后,MySQL 客户端显示网关中设置的 MySQL 版本,而不是 MySQL 服务器实例上运行的实际版本。After the connection is established, the MySQL client displays the version of MySQL set in the gateway, not the actual version running on your MySQL server instance. 若要确定 MySQL 服务器实例的版本,可在 MySQL 提示符处使用 SELECT VERSION(); 命令。To determine the version of your MySQL server instance, use the SELECT VERSION(); command at the MySQL prompt.

Azure Database for MySQL 当前支持以下主版本和次要版本的 MySQL:Azure Database for MySQL currently supports the following major and minor versions of MySQL:

版本Version 单台服务器Single Server
当前次要版本Current minor version
MySQL 版本 5.6MySQL Version 5.6 5.6.47(已停用)5.6.47(Retired)
MySQL 版本 5.7MySQL Version 5.7 5.7.295.7.29
MySQL 版本 8.0MySQL Version 8.0 8.0.158.0.15

请阅读版本支持策略文档中已停用版本的版本支持策略。Read the version support policy for retired versions in version support policy documentation.

主要版本支持Major version support

版本控制策略中所述,从 Azure 开始支持该版本之日起,到 MySQL 社区停用该版本之日结束,在此期间,Azure Database for MySQL 将支持 MySQL 的每个主要版本。Each major version of MySQL will be supported by Azure Database for MySQL from the date on which Azure begins supporting the version until the version is retired by the MySQL community, as provided in the versioning policy.

次要版本支持Minor version support

在定期维护过程中,Azure Database for MySQL 自动执行次要版本升级到 Azure 首选的 MySQL 版本。Azure Database for MySQL automatically performs minor version upgrades to the Azure preferred MySQL version as part of periodic maintenance.

主要版本停用策略Major version retirement policy

下表提供了 MySQL 主要版本的停用详细信息。The table below provides the retirement details for MySQL major versions. 日期遵循 MySQL 版本控制策略The dates follow the MySQL versioning policy.

版本Version 新增功能What's New Azure 支持开始日期Azure support start date 停用日期Retirement date
MySQL 5.6MySQL 5.6 功能Features 2018 年 3 月 20 日March 20, 2018 2021 年 2 月February 2021
MySQL 5.7MySQL 5.7 功能Features 2018 年 3 月 20 日March 20, 2018 2023 年 10 月October 2023
MySQL 8MySQL 8 功能Features) 2019 年 12 月 11 日December 11, 2019 2026 年 4 月April 2026

Azure Database for MySQL 不支持已停用的 MySQL 引擎版本Retired MySQL engine versions not supported in Azure Database for MySQL

在停用每个 MySQL 数据库版本之后,如果继续运行已停用版本,需要注意以下限制:After the retirement date for each MySQL database version, if you continue running the retired version, note the following restrictions:

  • 由于社区将不会发布任何进一步的 bug 修复或安全修复,Azure Database for MySQL 将不会针对任何 bug 或安全问题修补已停用的数据库引擎,也不会针对已停用的数据库引擎采取安全防护措施。As the community will not be releasing any further bug fixes or security fixes, Azure Database for MySQL will not patch the retired database engine for any bugs or security issues or otherwise take security measures with regard to the retired database engine. 但是,Azure 将继续对主机、OS、容器以及任何其他与服务相关的组件执行定期维护和修补。However, Azure will continue to perform periodic maintenance and patching for the host, OS, containers, and any other service-related components.
  • 如果可能遇到的任何支持问题与 MySQL 数据库有关,我们可能无法为你提供支持。If any support issue you may experience relates to the MySQL database, we may not be able to provide you with support. 在这种情况下,必须升级数据库,以便我们为你提供任何支持。In such cases, you will have to upgrade your database in order for us to provide you with any support.
  • Azure Database for MySQL 开发的新服务功能可能仅适用于受支持的数据库服务器版本。New service capabilities developed by Azure Database for MySQL may only be available to supported database server versions.
  • 运行时间 SLA 仅适用于与 Azure Database for MySQL 服务相关的问题,而不适用于与数据库引擎相关的 bug 导致的任何故障时间。Uptime SLAs will apply solely to Azure Database for MySQL service-related issues and not to any downtime caused by database engine-related bugs.
  • 在极端情况下,如果已停用的数据库版本中识别的 MySQL 数据库引擎漏洞对服务造成严重威胁,Azure 可能会选择停止数据库服务器的计算节点,以首先保护服务。In the extreme event of a serious threat to the service caused by the MySQL database engine vulnerability identified in the retired database version, Azure may chose to stop the compute node of your database server to secure the service first. 系统将要求你在使服务器联机之前升级服务器。You will be asked to upgrade the server before bringing the server online. 在升级过程中,将始终使用在服务上执行的自动备份来保护数据,该备份可用于按需还原到旧版本。During the upgrade process, your data will always be protected using automatic backups performed on the service which can be used to restore back to the older version if desired.

后续步骤Next steps