IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    Mac 下停止 redis 服务

    芒果发表于 2015-02-23 07:53:28
    love 0

    进入 redis 命令行:

    redis-cli
    

    停止 redis 服务:

    shutdown
    

    启动 redis 服务:

    redis-server
    

    如果报错:

    (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 命令即可解决。



沪ICP备19023445号-2号
友情链接