Updated on 2024-10-14 GMT+08:00

Changing the Read/Write Splitting Port

Scenarios

After read/write splitting is enabled, you can change the read/write splitting port as needed.

Constraints

To change the read/write splitting port, you need to contact customer service to apply for required permissions.

The read/write splitting port can be changed only for ELB proxies.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region.
  3. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  4. On the Instances page, click the DB instance name.
  5. In the navigation pane on the left, choose Database Proxy.
  6. On the displayed page, click next to the Port field.

    A database proxy can use a port ranging from 1024 to 65535, excluding 12017, 33071, and 1033, which are used by RDS.

    • To submit the change, click .
      • In the displayed dialog box, click OK.

        Changing the proxy port number interrupts the database connection. You are advised to change the port number during off-peak hours.

      • To cancel the change, click Cancel.
    • To cancel the change, click .