赞
踩
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
重启 之后 解决!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。