进入redis目录下
redis-cli -h IP -p 端口 -a 密码
flushall
Redis清空数据
原文:https://www.cnblogs.com/JiangNian/p/8361640.html