-
错误描述,如下图所示:
It was not possible to connect to the redis server(s); to create a disconnected multiplexer, disable AbortOnConnectFail. 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.
该错误大概的意思是:Redis被配置为保存数据库快照,但它目前不能持久化到硬盘。用来修改集合数据的命令不能用。请查看Redis日志的详细错误信息。
-
错误原因
强制关闭Redis快照导致不能持久化。 -
解决办法
用记事本打开Redis安装目录中的redis.windows.conf和redis.windows-service.conf文件,然后搜索关键字stop-writes-on-bgsave-error,将其属性设置为no(默认为yes),保存重启Redis服务即可