Upgrading the Minor Version

Scenarios

RDS for MySQL supports automatic and manual minor version upgrades, which can improve performance, add new functions, and fix bugs.

When a new minor version is released on HUAWEI CLOUD, you will see Upgrade in the DB Engine Version column on the Instance Management page. You can click Upgrade to go to the minor version upgrade page.

Figure 1 Version upgrade

For more information about minor versions, see RDS for MySQL Kernel Version Description.

A minor version can be upgraded in either of the following ways:

  • Upon submission: The system upgrades the minor version upon your manual submission of the upgrade request on the Basic Information page of the target DB instance.
  • In maintenance window: The minor version will be upgraded during the maintenance window after you manually submit the upgrade request. For details on how to change the maintenance window, see Changing the Maintenance Window.

Precautions

  • The upgrade will cause the DB instance to reboot and interrupt services intermittently. Therefore, perform the upgrade during off-peak hours, or ensure that your applications support automatic reconnection.
  • When you upgrade the minor version of a primary DB instance, the minor versions of read replicas (if any) will also be upgraded automatically. Perform the upgrade during off-peak hours because the DB instance will be rebooted after the upgrade is complete. (Minor versions of read replicas cannot be upgraded separately.)
  • The minor version cannot be downgraded after the upgrade is complete.
  • DDL operations, such as create event, drop event, and alter event, are not allowed on events during the minor version upgrade.

Constraints

  • MySQL MCS DB instances do not support minor version upgrades.
  • If the replication delay between primary and standby DB instances is longer than 300 seconds, the minor version cannot be upgraded.
  • For primary/standby DB instances, the standby DB instance is upgraded first and then the primary DB instance is upgraded.
  • The minor version cannot be upgraded for DB instances with abnormal nodes.
  • Currently, RDS for MySQL supports a maximum of 100,000 tables. If the number of tables is greater than 100,000, the minor version upgrade may fail.
  • MySQL DB instances with the event scheduler function enabled do not support minor version upgrades. If you want to use this function, disable event scheduler first. For operation details, see Enabling or Disabling Event Scheduler.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
  4. On the Instance Management page, click the target primary/standby DB instances.
  5. In the DB Information area on the Basic Information page, click Upgrade in the DB Engine Version field.

    Figure 2 Upgrading the minor version

  6. In the displayed dialog box, select a scheduled time and click OK.

    • Upon submission: The system upgrades the minor version upon your submission of the upgrade request.
    • In maintenance window: The system will upgrade the minor version during the maintenance window after you submit the upgrade request.
    Figure 3 Selecting a scheduled time