Linux下: 访问redis根目录 进入src目录下 ./redis-cli 输入命令:flushall 命令exit/quit退出 转载于:https://www.cnblogs.com/bce1100/p/10432024.html