Linux操作redis遇到的问题MISCONF Redis is....WRONGTYPE Operation against...

MISCONF Redis is configured to save RDB snapshots
原因
强制关闭Redis快照导致不能持久化。

解决方法
在redis客户端输入config set stop-writes-on-bgsave-error no
在这里插入图片描述
WRONGTYPE Operation against a key holding the wrong kind of value
原因
redis客户端与redis服务器中存储数据的类型存在冲突。
type +key查看数据类型
根据数据的类型进行操作
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/amazinga/article/details/105293268