REDIS显示错误: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.
解决方案
windows修改配置
打开Redis安装目录中的redis.windows.conf和redis.windows-service.conf文件,
#找到要修改的stop-writes-on-bgsave-error配置项
stop-writes-on-bgsave-error no
#修改该配置项为no
#重启redis并加载配置项
linux修改配置
#进入redis.conf文件
/stop-writes-on-bgsave-error
#找到要修改的stop-writes-on-bgsave-error配置项
stop-writes-on-bgsave-error no
#修改该配置项为no
./bin/redis-server ./etc/redis.conf
#重启redis并加载配置项