Laravel 5.0升级Predis之后使用密码报错

    一直使用Laravel5.0框架,使用Redis做缓存和一些高并发的应用,最后升级了一次,结果报错 `AUTH` failed: ERR Client sent AUTH, but no password is set [tcp://127.0.0.1:6379]   我本机装了一个Redis服务端,设置了一个密码,报错信息看出来是密码错了,但是升级之前没有这个问题。于是怀疑可能是predis改了配置,   查到官方https://github.com/nrk/predis 发现Release 1.1.1版本说明里面提到 FIX: 1password and 1database from the global 1parameters client option were still being applied to sentinels connections making them fail (sentinels do not understand the 1AUTH and 1SELECT commands)   为了什么安全起见,密码已经改变设置的地方,   以前的设置方法是:   … Continue reading Laravel 5.0升级Predis之后使用密码报错