All Products
Document Center


Last Updated: May 29, 2020

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


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.
  • The password must contain uppercase letters, lowercase letters, digits, and special characters.
  • Special characters supported include (!), (@), (#), ($), (%), (^), (&), (*), (()), (_), (+), (-), and (=).
  • The password must be 8 to 32 characters in length.

Response parameters

Parameter Type Example Description
RequestIdString1AD222E9-E606-4A42-BF6D-8A4442913CEFThe ID of the request.


Sample requests

  1. http(s)://[Endpoint]/?Action=ResetAccountPassword
  2. &AccountName=testacc
  3. &AccountPassword=Pw123456
  4. &DBClusterId=am-xxxxxxxxxxxxxxxx
  5. &<Common request parameters>

Sample success responses

XML format

  1. <ResetAccountResponse>
  2. <RequestId>2FED790E-FB61-4721-8C1C-07C627FA5A19</RequestId>
  3. </ResetAccountResponse>

JSON format

  1. {
  2. "RequestId":"2FED790E-FB61-4721-8C1C-07C627FA5A19"
  3. }