注册模块连接redis遇到的问题

1、遇到的问题

redis.exceptions.AuthenticationError: Client sent AUTH, but no password is set

9、redis.exceptions.AuthenticationError: Client sent AUTH, but no password is set

 

2、解决办法

首先打开redis.windows.service.conf(redis.windows.service)

9、redis.exceptions.AuthenticationError: Client sent AUTH, but no password is set

 

 -->  双击执行,大概在445行,看看你自已设置的密码

9、redis.exceptions.AuthenticationError: Client sent AUTH, but no password is set

--> 之后打开redis-cli.exe 执行文件 -->  在客户端输入:

9、redis.exceptions.AuthenticationError: Client sent AUTH, but no password is set

 

 

其中foobared,要与 redis.windows.service.conf  中的密码以及 Django 中 "PASSWORD": "foobared"  密码一致,如下所示:

 

 

9、redis.exceptions.AuthenticationError: Client sent AUTH, but no password is set

--> 之后填好手机号,点获取验证码即可。

9、redis.exceptions.AuthenticationError: Client sent AUTH, but no password is set

 

 

总结:我们主要失败的点就是没有在客户端输入:config set requirepass foobared

希望可以帮助各位,卡在这真的很烦。