美文网首页工作生活
ERR Client sent AUTH, but no pas

ERR Client sent AUTH, but no pas

作者: 老街老街 | 来源:发表于2019-07-01 14:45 被阅读0次

    造成这个错误的原因是没给这个用户授权,需要在server-cli里设置
    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

    相关文章

      网友评论

        本文标题:ERR Client sent AUTH, but no pas

        本文链接:https://www.haomeiwen.com/subject/uxvgcctx.html