在桌面启动启动运行环境总是报这个错误,最终采用注册服务方式,这只是以我个人情况而记录,不做过多评价
redis.clients.jedis.exceptions.JedisDataException: 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.
注册服务:
redis-server.exe --service-install redis.windows.conf
如果报错请查看redis.windows.conf中的
protected mode no
这个保护模式注释掉
删除服务delete redis(服务名称)
sc delete redis
本文记录了解决Redis启动时出现的MISCONF错误,该错误与数据持久化设置有关。通过禁用保护模式并注册Redis为Windows服务,成功解决了问题。文中提供了具体的命令行操作步骤。
478

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



