解决Redis之MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist o...

解决Redis之MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist o...

 

 

原因
强制关闭Redis快照导致不能持久化。


解决方案
将stop-writes-on-bgsave-error设置为no

 

127.0.0.1:6379> config set stop-writes-on-bgsave-error no


redis-cli 登录
auth redis
config set stop-writes-on-bgsave-error no

即可解决

 


 

posted on 2019-01-25 11:32  星河赵  阅读(171)  评论(0编辑  收藏  举报

导航