Resets the password of a privileged database account for an AnalyticDB for MySQL cluster.
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ResetAccountPassword | The operation that you want to perform. Set the value to ResetAccountPassword. |
DBClusterId | String | Yes | rm-uf6wjk5xxxxxxxxxx | The ID of the cluster whose database account password is to be reset. |
AccountName | String | Yes | test_accout | The name of the privileged database account whose password is to be reset. |
AccountPassword | String | Yes | Test_accout1 | The new password to be set for the privileged database account.
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 1AD222E9-E606-4A42-BF6D-8A4442913CEF | The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ResetAccountPassword
&AccountName=testacc
&AccountPassword=Pw123456
&DBClusterId=am-xxxxxxxxxxxxxxxx
&<Common request parameters>
Sample success responses
XML
format
<ResetAccountResponse>
<RequestId>2FED790E-FB61-4721-8C1C-07C627FA5A19</RequestId>
</ResetAccountResponse>
JSON
format
{
"RequestId":"2FED790E-FB61-4721-8C1C-07C627FA5A19"
}