Queries the kernel details of a PolarDB for MySQL cluster.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | 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 information about each cluster that belongs to your Alibaba Cloud account. The returned information includes the ID of each cluster. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
IsLatestVersion | String | true | Indicates whether the kernel version is the latest version. Valid values:
|
IsProxyLatestVersion | String | true | Indicates whether PolarProxy is the latest version. Valid values:
|
DBVersion | String | 8.0 | The major version of the database engine. Valid values:
|
DBRevisionVersion | String | 8.0.1.1.7 | The revision version of the database engine. Note For a cluster of the PolarDB for MySQL 5.6, the DBRevisionVersion parameter returns the revision version information only if the revision version is released later than August 31, 2020. Otherwise, this parameter returns an empty value. For more information about the kernel version of a cluster that runs the PolarDB for MySQL, see Release notes for the PolarDB kernel. |
RequestId | String | 47921222-0D37-4133-8C0D-017DC3****** | The ID of the request. |
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. |
DBClusterId | String | pc-**************** | The ID of the cluster. |
DBMinorVersion | String | 8.0.1 | The minor version of the database engine.
|
ProxyRevisionVersion | String | 2.4.15 | The version of PolarProxy. |
ProxyVersionStatus | String | Stable | The status of PolarProxy. Valid values:
Note For more information about how to upgrade the PolarProxy version, see Upgrade versions. |
ProxyLatestVersion | String | 2.4.17 | The latest version of PolarProxy. |
DBLatestVersion | String | 8.0.1.1.16 | The latest version of the database engine. |
Examples
Sample requests
http(s)://polardb.aliyuncs.com/?Action=DescribeDBClusterVersion
&DBClusterId=pc-****************
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeDBClusterVersionResponse>
<IsLatestVersion>true</IsLatestVersion>
<IsProxyLatestVersion>true</IsProxyLatestVersion>
<DBVersion>8.0</DBVersion>
<DBRevisionVersion>8.0.1.1.7</DBRevisionVersion>
<RequestId>47921222-0D37-4133-8C0D-017DC3******</RequestId>
<DBVersionStatus>Stable</DBVersionStatus>
<DBClusterId>pc-****************</DBClusterId>
<DBMinorVersion>8.0.1</DBMinorVersion>
<ProxyRevisionVersion>2.4.15</ProxyRevisionVersion>
<ProxyVersionStatus>Stable</ProxyVersionStatus>
<ProxyLatestVersion>2.4.17</ProxyLatestVersion>
<DBLatestVersion>8.0.1.1.16</DBLatestVersion>
</DescribeDBClusterVersionResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"IsLatestVersion" : "true",
"IsProxyLatestVersion" : "true",
"DBVersion" : "8.0",
"DBRevisionVersion" : "8.0.1.1.7",
"RequestId" : "47921222-0D37-4133-8C0D-017DC3******",
"DBVersionStatus" : "Stable",
"DBClusterId" : "pc-****************",
"DBMinorVersion" : "8.0.1",
"ProxyRevisionVersion" : "2.4.15",
"ProxyVersionStatus" : "Stable",
"ProxyLatestVersion" : "2.4.17",
"DBLatestVersion" : "8.0.1.1.16"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | The error message returned because the specified DBClusterId parameter is invalid. |
For a list of error codes, visit the API Error Center.