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
- A primary instance is created. You cannot enable the proxy terminal feature for a read-only or disaster recovery instance.
- A read-only instance is created. For more information, see Create a read-only ApsaraDB MyBase for MySQL instance.
- The dedicated proxy feature is enabled for the primary instance. For more information, see Enable dedicated proxy.