This topic describes how to enable the proxy terminal feature for an ApsaraDB MyBase for MySQL instance. After you configure a proxy terminal, ApsaraDB MyBase can route read and write requests to the primary and read-only instances based on the read weights of these instances. This feature is implemented by using an endpoint of the proxy terminal, which is the counterpart of the original read/write splitting endpoint.

Prerequisites

Procedure

  1. Log on to the ApsaraDB MyBase console.
  2. In the upper-left corner of the page, select a region.
  3. In the left-side navigation pane, choose Instances > MySQL.
  4. Find the instance that you want to manage and click Details in the Actions column.
  5. In the left-side navigation pane, click Database Proxy. Click the Proxy Terminal (Original Read/Write Splitting) tab.
  6. Click Configure Proxy Terminal. In the Configure Proxy Terminal dialog box, configure the parameters described in the following table and click OK.