(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d

出现redis错误:

(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.

 

翻译成中文:(错误)MISCONF Redis配置为保存RDB快照,但目前无法在磁盘上保留。 可以修改可能修改数据集的命令。 请检查Redis日志以获取有关错误的详细信息。

 

导致原因:

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

 

解决方法:

  连接redis

  执行以下两条命令

  

  127.0.0.1:6379> config set stop-writes-on-bgsave-error no
  127.0.0.1:6379> OK
  127.0.0.1:6379> lpush myColour "red"
  127.0.0.1:6379> (integer) 1

上一篇:解决MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk


下一篇:(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on