步骤一:任意目录下打开命令终端窗口 步骤二:连接上redis客户端 redis-cli 步骤三:密码认证passwordcode(Redis密码) auth passwordcode 步骤四:刷新Redis flushall