windows redis修改密码不成功
D:\WorkPlace\BtSoft\redis>redis-cli #切换到redis安装目录,启动redis客户端命令行
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>