解决方法

一.解决办法一:

进入到redis的bin目录下,修改 redis.conf,把 stop-writes-on-bgsave-error 改成no

具体步骤:

  1. cd /usr/local/redis/bin/
  2. vim redis.conf
  3. 到222行左右,修改
    redis异常redis.clients.jedis.exceptions.JedisDataException: MISCONF Redis is configured to save RDB sn

二.解决办法二

在启动完redis后,连接到客户端,

具体步骤

1)启动redis:
./redis-server redis.conf
2)启动客户端工具:
./redis-cli
3)执行以下命令:
config set stop-writes-on-bgsave-error no

ok.

相关文章:

  • 2022-03-03
  • 2022-12-23
  • 2022-02-28
  • 2022-02-18
  • 2021-07-22
  • 2021-08-21
  • 2021-08-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-13
  • 2021-12-28
  • 2021-05-22
  • 2021-08-07
  • 2021-05-27
  • 2022-01-12
相关资源
相似解决方案