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

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

【解决办法】

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

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

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

猜你喜欢

转载自www.cnblogs.com/liaojie970/p/9020605.html
今日推荐