1. 程式人生 > >Redis連線錯誤:MISCONF Redis is configured to save RDB snapshots, but it is currently not able to...

Redis連線錯誤:MISCONF Redis is configured to save RDB snapshots, but it is currently not able to...

今天連線Redis出現了MISCONF Redis is configured to save RDB snapshots, but it is currently not able to...的奇葩錯誤,網上查了一下發現問題是:強制把redis快照關閉了導致不能持久化

這個我也表示黑人問號,昨天還連的好好的,今天跟我說強制。。。

解決方法如下:

  1. Redis客戶端執行:config set stop-writes-on-bgsave-error no
  2. 修改redis.conf檔案,stop-writes-on-bgsave-error=yes修改為stop-writes-on-bgsave-error=no