当前位置:   article > 正文

链接Redis时出现 “ERR Client sent AUTH, but no password is set” 异常的原因及解决办法_yii2 message 'redis error: err client sent auth, b

yii2 message 'redis error: err client sent auth, but no password is set redi

Java链接Redis时出现 “ERR Client sent AUTH, but no password is set” 异常的原因及解决办法

大致意思就是 Redis未设置密码 按照网上说的 给配置文件redis.windows.conf添加 requirepass值得后依旧无效
在这里插入图片描述
【问题原因】
Redis服务器没有设置密码,但客户端向其发送了AUTH(authentication,身份验证)请求。

【解决办法】

确定Redis启动时指定是哪个配置文件。

redis-server.exe  redis.windows.conf
  • 1

在这里插入图片描述
重启 之后 解决!

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/黑客灵魂/article/detail/835327
推荐阅读
相关标签
  

闽ICP备14008679号