当前位置:操作系统 > 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 © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,