我是靠谱客的博主 清新小蘑菇,这篇文章主要介绍redis 常见报错和解决方案【报错】(error) NOAUTH Authentication required【报错】(error) MISCONF Redis is configured to save RDB snapshots,现在分享给大家,希望可以做个参考。
进入redis 命令行
redis-cli --raw
【报错】(error) NOAUTH Authentication required
报错原因:没有使用密码连接
解决方案:使用密码连接
若还没进入redis 命令行,则使用
redis-cli --raw -a redis的密码
若已进入redis 命令行,则使用
auth redis的密码
【报错】(error) MISCONF Redis is configured to save RDB snapshots
报错原因:强制关闭Redis快照导致不能持久化。
解决方案:关闭配置项stop-writes-on-bgsave-error
1. 先使用密码连接redis,进入redis命令行
redis-cli --raw -a redis的密码
2. 执行命令
config set stop-writes-on-bgsave-error no
最后
以上就是清新小蘑菇最近收集整理的关于redis 常见报错和解决方案【报错】(error) NOAUTH Authentication required【报错】(error) MISCONF Redis is configured to save RDB snapshots的全部内容,更多相关redis内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复