All Products
Search
Document Center

ApsaraDB RDS:Upgrade the database proxy version

Last Updated:Jan 11, 2024

ApsaraDB RDS for MySQL upgrades the database proxy version at irregular intervals. You can view the release notes for the database proxy version of ApsaraDB RDS for MySQL and determine whether to upgrade the database proxy version based on your business requirements. This topic describes how to upgrade the database proxy version in the ApsaraDB RDS console or by calling an API operation.

For more information about the database proxy version, see Release notes for the database proxy version.

Prerequisites

The database proxy feature is enabled. For more information, see Enable the database proxy feature.

Usage notes

  • When you upgrade the database proxy version of an ApsaraDB RDS for MySQL instance, the database proxy instance that you enabled on the RDS instance is restarted. During the restart, an instance switchover occurs on the RDS instance. The point in time when the database proxy instance restarts varies based on the value of the Upgrade Time parameter. You can select Upgrade Now or Upgrade Within Maintenance Window for the parameter.

  • We recommend that you perform the upgrade during off-peak hours. Make sure that your application can automatically reconnect to your RDS instance.

  • For more information about the impacts of an instance switchover, see Impacts of an instance switchover.

Procedure

  1. Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
  2. In the left-side navigation pane, click Database Proxy.

  3. In the Basic Information section, click Upgrade to the right of the Proxy Version parameter.

    Note

    If the database proxy uses the latest version, the Upgrade button is not displayed.

  4. In the dialog box that appears, configure the Upgrade Time parameter and click OK.

    Note
    • You can select Upgrade Now or Upgrade Within Maintenance Window for the Upgrade Time parameter. For more information about the maintenance window, see Set the maintenance window.

    • After you set the Upgrade Time parameter to Upgrade Within Maintenance Window and click OK, the RDS instance generates an upgrade plan based on the current maintenance window. If you modify the maintenance window, the upgrade plan that is generated is not affected.

References

Related operations

Operation

Description

UpgradeDBProxyInstanceKernelVersion

Upgrades the database proxy version.