[Redis]ResponseError: Client sent AUTH, but no password is set

由于在代码中给redis添加了密码,如下

redis_store = redis.Redis(host='localhost', port=6379, db=4, password='root')

然而redis.conf中并没有设置密码,因此报ResponseError: Client sent AUTH, but no password is set

解决方法:将password字段去除即可 

原文地址:https://www.cnblogs.com/milian0711/p/8078624.html