输入密码即可解决 auth redis (redis 是 redis 的密码)
127.0.0.1:6379> set mykey lisi
(error) NOAUTH Authentication required.
127.0.0.1:6379> auth redis
OK
127.0.0.1:6379> set mykey lisi
OK
127.0.0.1:6379> get mykey
“lisi”
输入密码即可解决 auth redis (redis 是 redis 的密码)
127.0.0.1:6379> set mykey lisi
(error) NOAUTH Authentication required.
127.0.0.1:6379> auth redis
OK
127.0.0.1:6379> set mykey lisi
OK
127.0.0.1:6379> get mykey
“lisi”