这种方法是临时设置密码,redis关闭密码消失需要从新设置 1.首先先运行redis-server.exe 2.如图所示运行redis-cli设置密码 转载于:https://my.oschina.net/sunchm/blog/1589698