当前位置:操作系统 > Unix/Linux >>

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

redis问题解决(MISCONF Redis is configured to save RDB snapshots)
 
(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] 
set 'name' 'shenhui'  
-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  
+OK  
set 'name' 'shenhui'  
+OK

 


CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,