異常:ERR Client sent AUTH, but no password is set

登陸到redis服務

127.0.0.1:6379> auth 123456
ERR Client sent AUTH, but no password is set

設置其密碼

Redis 127.0.0.1:6379> CONFIG SET requirepass "123456"
OK
redis 127.0.0.1:6379> AUTH 123456
Ok
相關文章
相關標籤/搜索