redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set
时间: 2023-10-18 12:59:22 浏览: 209
出现"redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password"这个错误的原因是客户端连接Redis时发送了AUTH请求,但是Redis未设置密码。解决方法有两种: 第一种是在Redis的配置文件中将密码置为空,即删除参数名为password的配置项。第二种是在Redis中设置一个密码,以使其与客户端发送的AUTH请求匹配。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [【Redis异常】redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password](https://blog.csdn.net/weixin_44299027/article/details/107182784)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [Caused by: redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password](https://blog.csdn.net/qq_37131111/article/details/127411588)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文