When you use a PolarDB-X 1.0 instance, you must access the mounted ApsaraDB RDS for MySQL instances. If the network configuration of a connected ApsaraDB RDS for MySQL instance changes, for example, if the zone is switched, the network connection between the PolarDB-X 1.0 instance and the ApsaraDB RDS for MySQL instance is broken. As a result, the PolarDB-X 1.0 instance cannot access the ApsaraDB RDS for MySQL instance. In this case, you must manually fix the database shard connection to restore the network connection. This topic describes how to manually fix database shard connections in the PolarDB-X 1.0 console.

Procedure

  1. Log on to the PolarDB for Xscale console.
  2. In the top navigation bar, select the region where the target instance is located.
  3. In the left-side navigation pane, click Instances.
  4. On the page that appears, find the target instance and click the instance ID.
  5. In the left-side navigation pane, choose Configuration and Management > Databases.
  6. On the page that appears, find the target database and click the database name.
    Click the database name
  7. On the Basic Information page of the target database, click Fix Database Shard Connections in the Shortcuts section. Fix database shard connections
  8. In the dialog box that appears, click OK.