This topic describes how to disable read/write splitting for an RDS MySQL instance.

This topic applies only to RDS instances that run in shared proxy mode. For more information about RDS instances that run in dedicated proxy mode, see What are dedicated proxies.

Prerequisites

The read/write splitting function has been enabled for the RDS instance. For more information, see Enable the read/write splitting feature for an ApsaraDB RDS for MySQL instance (shared proxy).

Precautions

  • When the read/write splitting function is being disabled, the RDS instance is disconnected for 30 seconds or less. We recommend that you disable this function during off-peak hours and make sure that your application can automatically reconnect to the RDS instance.
  • After the read/write splitting function is disabled, the read/write splitting address becomes invalid. Make sure that your application no longer uses the read/write splitting address to connect to the RDS instance.

Procedure

  1. Log on to the RDS console.
  2. In the upper-left corner, select the region where the target RDS instance is located.选择地域
  3. Find the target RDS instance and click the instance ID.
  4. In the left-side navigation pane, click Database Connection or Database Proxy.
  5. Click the Read/Write Splitting tab.
  6. In the Basic Information of Read/Write Splitting section, click Disable Read/Write Splitting.
  7. In the displayed dialog box, click Confirm.