You can call the ReleaseReadWriteSplittingConnection operation to release the read/write splitting endpoint of a primary ApsaraDB RDS instance.

Before you call this operation, make sure that the following requirements are met:

  • The shared proxy feature must be enabled for the primary instance.
  • The read/write splitting feature must be enabled for the primary instance.
  • The primary instance must run one of the following database engine versions and RDS editions:
    • MySQL 5.7 on RDS High-availability Edition (with local SSDs)
    • MySQL 5.6
    • SQL Server 2017 on RDS Cluster Edition


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer automatically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ReleaseReadWriteSplittingConnection

The operation that you want to perform. Set the value to ReleaseReadWriteSplittingConnection.

DBInstanceId String Yes rm-uf6wjk5xxxxxxx

The ID of the primary instance.

Response parameters

Parameter Type Example Description
RequestId String 5A77D650-27A1-4E08-AD9E-59008EDB6927

The ID of the request.


Sample requests

http(s):// Action=ReleaseReadWriteSplittingConnection
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.