1. 程式人生 > >連線redis報此錯誤:ERR Client sent AUTH, but no password is set

連線redis報此錯誤:ERR Client sent AUTH, but no password is set

from:

http://bbs.csdn.net/topics/391824759?page=1

127.0.0.1:6379> auth 123456
ERR Client sent AUTH, but no password is set

設定其密碼

redis 127.0.0.1:6379> CONFIG SET requirepass "123456"
OK
redis 127.0.0.1:6379> AUTH 123456
Ok

設定下這個配置密碼就好了