127.0.0.1:6379> keys *
(empty list or set)
127.0.0.1:6379> hset car price 5000
(integer) 1
127.0.0.1:6379> hset car name bmw
(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.
出现如下问题:
(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
4887



被折叠的 条评论
为什么被折叠?



