redis 问题解决(MISCONF Redis is configured to save RDB snapshots)

来源:互联网 发布:上海回力鞋淘宝网 编辑:程序博客网 时间:2024/06/05 09:05
(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.
 
使用如下命令解决:
config set stop-writes-on-bgsave-error no

[plain] view plaincopy
  1. set 'name' 'shenhui'  
  2. -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.  
  3. config set stop-writes-on-bgsave-error no  
  4. +OK  
  5. set 'name' 'shenhui'  
  6. +OK 
0 0