Upgrade the database version of an instance, for example, from MySQL 5.1 to MySQL 5.5.

If the primary instance is attached with a read-only or disaster recovery instance, please first upgrade the database version of the read-only or disaster recovery instance. The operation must meet the following conditions, otherwise the call will fail:

  • The instance is Running.
  • The entered database version must be later than the current database version of the target instance.

Request parameters

Name Type Required? Description
Action String Yes Required parameter. Value: UpgradeDBInstanceEngineVersion.
DBInstanceId String Yes Instance to be upgraded/downgraded.
EngineVersion String Yes Database version to be upgraded to.

Return parameters

Name Type Description
<Public Return Parameters> - For more information, see Public parameters.
TaskId Integer Task ID.

Request example
&<Public Request Parameters>

Response example

XML format


JSON format

"RequestId": " 65BDA532-28AF-4122-AA39-B382721EEE64"