首页 > 技术文章 > 解决Redis之MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist o...

zhaoyingjie 2019-01-25 11:32 原文

解决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

即可解决

 


 

推荐阅读