Redis 错误

今天连接redis 服务器时报:MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

网上查到 stop-writes-on-bgsave-error 的值设为no即可;

步骤:找到Linux 下redis的安装目录,通常 在、usr/local/bin 下面 redis-cli回车


重新连接,发现问题解决了。

猜你喜欢

转载自blog.csdn.net/nvfuy/article/details/79552783