打赏

链接Redis报错`AUTH` failed: ERR Client sent AUTH, but no password is set [tcp://127.0.0.1:6379]

问题

链接Redis报错`AUTH` failed: ERR Client sent AUTH, but no password is set [tcp://127.0.0.1:6379]

解決

启动Redis客户端

D:\Redis\redis-windows-master\src\msopentech\redis-64.2.8.2101>redis-cli.exe -h 127.0.0.1 -p 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>

设置下这个配置密码就好了

posted on 2019-03-27 16:23  头大的冯冯  阅读(3558)  评论(0编辑  收藏  举报

导航