解决 AUTH` failed: ERR Client sent AUTH, but no password is set [tcp://127.0.0.1:6379]

页面报错:

ConnectionException In AbstractConnection.php line 155 

AUTH` failed: ERR Client sent AUTH, but no password is set [tcp://127.0.0.1:6379]

设置其密码
127.0.0.1:6379> AUTH 123456
(error) ERR Client sent AUTH, but no password is set

设置其密码
127.0.0.1:6379> CONFIG SET requirepass "123456"
OK
127.0.0.1:6379> AUTH 123456
OK
127.0.0.1:6379>

原文地址:https://www.cnblogs.com/clubs/p/10825166.html