【问题标题】:Redis: redis-cli not asking for passwordRedis:redis-cli 不要求输入密码
【发布时间】:2020-02-20 23:38:16
【问题描述】:

我已经用requirepass 配置了我的redis.conf,并用

redis-server redis.conf

但是,当我运行 redis-cli 时,它不会要求我输入密码 并让我连接到 redis,但是当我尝试运行命令时,要求我输入密码。

此行为导致 Sentinel 出现问题,因为 Sentinel 尝试进行身份验证。 Sentinel 不会找到那个主人,因为它没有要求输入密码。

【问题讨论】:

    标签: authentication redis redis-sentinel redis-cli


    【解决方案1】:

    https://medium.com/garimoo/redis-sentinel-no-such-master-with-specified-name-fatal-config-file-error-1ca8b3d25d38

    与 redis-cli 无关的东西我关联了两个不同的东西 有解决办法。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-05-31
      • 1970-01-01
      • 2022-01-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-09-10
      • 2012-09-29
      相关资源
      最近更新 更多