【问题原因】
Redis服务器没有设置密码,但客户端向其发送了AUTH(authentication,身份验证)请求。

【解决办法】

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

win10 中redis client提示 ERR Client sent AUTH,but no password is set

如上图是 redis.windows.conf 文件,用文本编辑工具打开文件,找到“requirepass”,去掉注释设置密码。

win10 中redis client提示 ERR Client sent AUTH,but no password is set

 

编辑完后保存,重新启动Redis,再运行程序,OK

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-05
  • 2021-09-04
  • 2021-09-16
猜你喜欢
  • 2021-05-31
  • 2021-09-24
  • 2021-06-06
  • 2022-02-02
相关资源
相似解决方案