宝塔php7.3 Redis报错
ERR AUTH <password> called without any password configured for the default user.
Are you sure your configuration is correct?`
解决方案:低版本的Redis 可以不设置密码,高版本的需要设置密码才行
`[root@iz]# redis-cli -h 127.0.0.1 -p 6379
127.0.0.1:6379> auth 123456#试一下改的密码,发现验证失败
(error) ERR AUTH <password> called without any password configured for the default user.
Are you sure your configuration is correct?
127.0.0.1:6379> config set requirepass "admin" #命令行重设密码
OK
127.0.0.1:6379> auth admin #用新密码验证ok
OK
127.0.0.1:6379>