Updated on 2023-08-29 GMT+08:00

Resetting Instance Passwords

On the DCS console, you can configure a new password if you forget your instance password.

  • You can change it from password mode to password-free mode or from password-free mode to password mode by resetting its password. For details, see Changing Password Settings for DCS Redis Instances and Changing Password Settings for DCS Memcached Instances.
  • The DCS instance for which you want to reset the password is in the Running state.
  • The new password takes effect immediately on the server without requiring a restart. The client must reconnect to the server using the new password after a pconnect connection is closed. (The old password can still be used before disconnection.)

Prerequisites

A DCS instance has been created.

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner of the management console and select the region where your instance is located.
  3. In the navigation pane, choose Cache Manager.
  4. Choose More > Reset Password in the row containing the chosen instance.
  5. In the displayed dialog box, set New Password, and Confirm Password.

    The password must meet the following requirements:

    • Cannot be left blank.
    • Can be 8 to 64 characters long.
    • Contain at least three of the following character types:
      • Lowercase letters
      • Uppercase letters
      • Digits
      • special characters (`~!@#$^&*()-_=+\|{},<.>/?)

  6. Click OK.

    The system will display a success message only after the password is successfully reset on all nodes. If the reset fails, the instance will restart and the password of the cache instance will be restored.