#1.启动redis-server.exe
#2.启动redis-cli.exe
#3.设置redis配置密码(每次redis服务重启都要设置一下)
redis 127.0.0.1:6379> CONFIG SET requirepass "123456"
OK
redis 127.0.0.1:6379> AUTH 123456
Ok