参考网站:

https://www.cnblogs.com/springlight/p/6288902.html

登录 
无密码
redis-cli.exe -h 127.0.0.1 -p 6379

有密码
redis-cli.exe -h 127.0.0.1 -p 6379 -a 123456

登录进去再验证密码
auth 123456

查看密码

config get requirepass //获取当前密码

修改密码   windows下

进入  redis.windows.conf 

# requirepass foobared

 requirepass yourpassword  //此处注意,行前不能有空格

然后创建快捷方式

redis-server.exe

在快捷方式  目标加入启动的文件名

redis命令行启动和设置密码

相关文章:

  • 2021-07-09
  • 2021-09-14
  • 2021-08-30
  • 2021-09-07
  • 2021-11-05
  • 2022-12-23
  • 2022-12-23
  • 2021-08-26
猜你喜欢
  • 2022-12-23
  • 2021-07-13
  • 2021-12-22
  • 2022-12-23
  • 2021-10-19
  • 2021-06-19
  • 2022-02-08
相关资源
相似解决方案