1、报错:解决Redis错误MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persi...
解决办法:
127.0.0.1:6379> config set stop-writes-on-bgsave-error no
;- 再到conf配置文件中设置此命令,初始命令为:
127.0.0.1:6379> config set stop-writes-on-bgsave-error yes
,改为no即可
2、设置为服务并开启:
3、删除数据库中所有的keys
flushdb
//删除所有数据库中的key
flushall
网友评论