redis常用命令

redis重置密码时""里为空

 

127.0.0.1:6379> config set requirepass ""

(error) NOAUTH Authentication required.

127.0.0.1:6379> auth "12345678"          //验证密码

OK

127.0.0.1:6379> config set requirepass ""  //重置密码

OK

posted @ 2019-05-19 19:49  duo&duo  阅读(125)  评论(0编辑  收藏  举报