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"
    原文作者:lijingyulee
    原文地址: https://segmentfault.com/a/1190000018810335
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞