1、cmd切换到redis目录下 2、redis-cli -p 6379回车 3、flushall 转载于:https://www.cnblogs.com/wf2010517141/p/10675935.html