【发布时间】:2013-11-21 06:55:53
【问题描述】:
每当我执行任何修改redis中数据的命令时,我都会收到以下错误
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.
我在 mac 上使用 brew 安装了 redis。如何获取 redis-server 记录信息的日志文件的位置。我试图寻找redis conf。文件,但也找不到。
[1] redis conf 文件 [2] redis 日志文件的默认位置是什么。
如何摆脱上述错误,并能够执行修改redis中数据的命令。
【问题讨论】:
-
请参阅stackoverflow.com/questions/19581059/…,了解无需重启或丢失数据即可解决此问题的方法。
-
重启redis为我解决了这个问题,基于stackoverflow.com/questions/19581059/…
标签: redis