All Products
Search
Document Center

ApsaraDB for Redis:What do I do if the "WRONGPASS invalid username-password pair" error message is returned when I attempt to connect to an ApsaraDB for Redis instance?

Last Updated:Jan 17, 2024

If you attempt to use an incorrect or invalid password to connect to an ApsaraDB for Redis Community Edition instance that uses a major version of 6.0 or 5.0 and a minor version of 5.0.8 or later, the WRONGPASS invalid username-password pair error message appears.

You must enter the correct password in one of the following formats:

  • If you use the default account whose username is the same as the instance ID, enter the password.

  • If you use a custom account, enter the password in the <user>:<password> format. For example, if the username of the custom account is testaccount and the password is Rp829dlwa, enter testaccount:Rp829dlwa as the password.

Note
  • If you use a management tool such as Redis Desktop Manager (RDM) to connect to the instance, enter a password in the format of <user>:<password>.

  • If you forget your password, you can reset it. For more information, see Change or reset the password.

  • If you attempt to use an incorrect password to connect to an ApsaraDB for Redis Community Edition 6.0 instance that has password-free access enabled, the "WRONGPASS invalid username-password pair" error is still reported. In this case, you must enter the correct password or leave the password field empty.