You can call this operation to upgrade an RDS instance to a higher minor version.

This operation is applicable to instances of the following versions:

  • MySQL 8.0 High-availability Edition (based on local SSDs)
  • MySQL 8.0 Basic Edition
  • MySQL 5.7 High-availability Edition (based on local SSDs)
  • MySQL 5.7 Basic Edition
  • MySQL 5.6
  • MySQL 5.5

Debugging

Alibaba Cloud provides OpenAPI Explorer to simplify API usage. You can use OpenAPI Explorer to search for APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyDBInstanceAutoUpgradeMinorVersion

The operation that you want to perform. Set this parameter to ModifyDBInstanceAutoUpgradeMinorVersion.

DBInstanceId String Yes rm-uf6wjk5xxx

The ID of the instance.

AutoUpgradeMinorVersion String Yes Auto

The upgrade method to use. Valid values:

  • Auto: Instances are automatically upgraded to a higher minor version.
  • Manual: Instances are forcibly upgraded to a higher minor version when the current version is unpublished.
AccessKeyId String No LTAIfCxxxxxxxxxx

The AccessKey ID provided to you by Alibaba Cloud.

ClientToken String No ETnLKlblzczshOTUbOCzxxxxxxxxxx

The client token that is used to ensure the idempotency of requests. The parameter value is generated by the client and is unique among different requests. The value is a string of up to 64 ASCII characters.

Response parameters

Parameter Type Example Description
RequestId String A31818D5-0550-4A81-8D13-B45948D7193F

The ID of the request.

Examples

Sample requests


http(s)://rds.aliyuncs.com/? Action=ModifyDBInstanceAutoUpgradeMinorVersion
&DBInstanceId=rm-uf6wjk5xxx
&AutoUpgradeMinorVersion=Auto
&<Common request parameters>

Successful response examples

XML format

<ModifyDBInstanceAutoUpgradeMinorVersionResponse>
  <RequestId>A31818D5-0550-4A81-8D13-B45948D7193F</RequestId>
</ModifyDBInstanceAutoUpgradeMinorVersionResponse>

JSON format

{
	"RequestId":"A31818D5-0550-4A81-8D13-B45948D7193F"
}

Error codes

View error codes