Queries the details of the current kernel of a PolarDB for MySQL cluster.
Note For more information, see Version of the PolarDB database kernel and Release notes of the PolarDB kernel.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | DescribeDBClusterVersion |
The operation that you want to perform. Set the value to DescribeDBClusterVersion. |
DBClusterId | String | Yes | pc-**************** |
The ID of the cluster. Note You can call the DescribeDBClusters operation to query the details of all clusters under your account, such as the cluster
ID.
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
DBClusterId | String | pc-**************** |
The ID of the cluster. |
DBMinorVersion | String | 8.0.1 |
The minor version of the database engine.
|
DBRevisionVersion | String | 8.0.1.1.7 |
The revision of the database engine. Note For clusters of PolarDB for MySQL 5.6, only the
Revision Version that is released after 20200831 is returned. Otherwise, this parameter is not returned.
For more information about the kernel version of a PolarDB for MySQL cluster, see
Release notes of the PolarDB kernel.
|
DBVersion | String | 8.0 |
The major version of the database engine. Valid values:
|
DBVersionStatus | String | Stable |
The status of the minor version. Valid values:
Note For more information about how to upgrade the minor version, see Upgrade versions.
|
IsLatestVersion | String | true |
Indicates whether the current version is the latest one. Valid values:
|
RequestId | String | 47921222-0D37-4133-8C0D-017DC3****** |
The ID of the request. |
Samples
Sample requests
http(s)://polardb.aliyuncs.com/? Action=DescribeDBClusterVersion
&DBClusterId=pc-****************
&<common request parameters>
Sample responses
XML
format
<DescribeDBClusterVersionResponse>
<LatestRevisionVersion></LatestRevisionVersion>
<IsLatestVersion>true</IsLatestVersion>
<DBVersion>8.0</DBVersion>
<RequestId>47921222-0D37-4133-8C0D-017DC3******</RequestId>
<DBRevisionVersion>8.0.1.1.7</DBRevisionVersion>
<DBVersionStatus>Stable</DBVersionStatus>
<DBClusterId>pc-****************</DBClusterId>
<DBMinorVersion>8.0.1</DBMinorVersion>
</DescribeDBClusterVersionResponse>
JSON
format
{
"LatestRevisionVersion": "",
"IsLatestVersion": "true",
"DBVersion": "8.0",
"RequestId": "47921222-0D37-4133-8C0D-017DC3******",
"DBRevisionVersion": "8.0.1.1.7",
"DBVersionStatus": "Stable",
"DBClusterId": "pc-****************",
"DBMinorVersion": "8.0.1"
}
Errors
For a list of error codes, visit the API Error Center.