异常:ERR Client sent AUTH, but no password is set
文章目录
登录到redis服务
127.0.0.1:6379> auth 123456
ERR Client sent AUTH, but no password is set
设置其密码
Redis 127.0.0.1:6379> CONFIG SET requirepass "123456"
OK
redis 127.0.0.1:6379> AUTH 123456
Ok
127.0.0.1:6379> auth 123456
ERR Client sent AUTH, but no password is set
Redis 127.0.0.1:6379> CONFIG SET requirepass "123456"
OK
redis 127.0.0.1:6379> AUTH 123456
Ok
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论