代码拉取完成,页面将自动刷新
redis version 5.0.4
一主两从
三个节点redis.conf设置了
protected-mode yes
requirepass 123456
哨兵配置了
protected-mode no
sentinel auth-pass mymaster 123456
系统redis 配置如下
#reids
redis:
password: 123456
sentinel:
master: mymaster
nodes: 192.168.2.132:26379,192.168.2.132:26380,192.168.2.132:26381
timeout: 20000
database: 0
lettuce:
pool:
max-idle: 7
min-idle: 2
max-active: 7
max-wait: -1ms
shutdown-timeout: 200
启动报错:
ERR Client sent AUTH, but no password is set
看意思是不需要密码,
取消了yml配置的redis.password
启动又报错:
NOAUTH Authentication required.
呃。。。。 到底要不要密码???
redis的
protected-mode yes
requirepass 123456
是不可能取消的...
这个是什么问题呢?
我也是这个问题,你解决了吗
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
登录 后才可以发表评论