Redis (error) NOAUTH Authentication required解决方法

输入密码即可解决 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"
posted @ 2020-02-17 12:10  Awakenedy  阅读(290)  评论(0编辑  收藏  举报