首先进入redis安装目录 当前目录下执行CMD命令(shift + 右键 -> 选择 ‘在此处打开Powershell窗口’ ) 执行 redis-cli.exe -h 127.0.0.1 -p 6379 flushall