Updated on 2025-06-13 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

  • Changing the proxy port number interrupts the database connection. You are advised to change the port number during off-peak hours.
  • The read/write splitting port can be changed only for ELB proxies.

Procedure

  1. Click in the upper left corner and select a region.
  2. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  3. On the Instances page, click the DB instance name.
  4. In the navigation pane on the left, choose Database Proxy.
  5. 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 .