Redis报错:(error) NOAUTH Authentication required

323 阅读1分钟

需要验证密码,解决如下:

redis-cli -h 127.0.0.1 -p 6379

auth xxxx

xxxx为你的redis密码。