After redis set a password, if you add in the console test data

As shown below: If, as a direct set before you will find the error: noauth Authentication required error. This is because there is no authentication

Below the third row, the password verification: auth password provided 

Will return OK

When the set field again, you will find that has been added to the cache

Published 224 original articles · won praise 14 · views 40000 +

Guess you like

Origin blog.csdn.net/xulong5000/article/details/104960809