问题:Redis密码更改了conf文件没反应
redis正常设置密码:
1.进入redis的文件夹,找到redis.windows.conf文件
Redis密码更改了conf文件没反应
2.双击打开该文件,找到requirepass所在的行,向下添加:
requirepass xxxxxx(密码)
Redis密码更改了conf文件没反应
3.保存
4.打开cmd,进入redis文件夹,输入客户端命令:redis-cli.exe
输入密码:(但是发现没有效果)Redis密码更改了conf文件没反应
方法二:简单粗暴:直接输入命令:config set requirepass
密码
Redis密码更改了conf文件没反应
然后再测试一遍:auth 密码
ok!成功!

相关文章:

  • 2021-07-17
  • 2021-11-01
  • 2022-12-23
  • 2021-08-29
  • 2021-06-11
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
  • 2022-01-28
  • 2021-06-11
相关资源
相似解决方案