redis ERR Client sent AUTH, but no password is set
时间: 2023-08-17 10:11:49 浏览: 163
redis-client-windows
回答: 报错信息"ERR Client sent AUTH, but no password is set"表示Redis服务器没有设置密码,但是客户端却发送了带有密码的AUTH请求,导致报错。解决这个问题有两种方式:一种是通过命令行方式设置密码,另一种是在配置文件中去掉密码的设置。\[2\]如果选择通过命令行方式设置密码,可以使用命令"CONFIG SET requirepass yourpassword"来设置密码,将"yourpassword"替换为你想要设置的密码。如果选择在配置文件中去掉密码的设置,可以将配置文件中的"password"一行去掉,即不再设置密码。\[3\]
#### 引用[.reference_title]
- *1* *2* [Redis连接报错:ERR Client sent AUTH, but no password is set](https://blog.csdn.net/u014026084/article/details/105767907)[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^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [redis连接错误:ERR Client sent AUTH, but no password is set解决方案2个](https://blog.csdn.net/quanaianzj/article/details/84621743)[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^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文