1 运行cmdredis
到redis安装目录,cmd输入redis-cli.exe -h 127.0.0.1 -p 6379get
2 密码登陆cmd
auth 输入密码登录
3 设置和获取 set "hello" get "hello"cli
4 清空 flushall密码