Azure Database for MySQL 版本控制策略Azure Database for MySQL versioning policy

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

支持的 MySQL 版本Supported MySQL versions

Azure Database for MySQL 支持以下数据库版本。Azure Database for MySQL supports the following database versions.

版本Version
MySQL 8MySQL 8
MySQL 5.7MySQL 5.7
MySQL 5.6MySQL 5.6

主要版本支持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.
  • 无法为已停用的版本创建新的数据库服务器。You will not be able to create new database servers for the retired version. 但能够执行时间点恢复并为现有服务器创建只读副本。However, you will be able to perform point-in-time recoveries and create read replicas for your existing servers.
  • 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