The redis client connects successfully, but the operation reports an exception: NOAUTH Authentication required.
The error message means that authority authentication is required, and the reason is that no password is entered.
Solution 1: The format is: auth password
As follows: Where auth is followed by my redis password
Solution 2: Login with password authentication
redis-cli -h 127.0.0.1 -p 6379 -a svNUKRtV%7xXCP6$j^dB1ePa
Remarks: Method 1 is recommended, method 1 is safer
View the version number of redis
info