redis-cli 进入redis命令行 flushall 清除所有 如果报出“NOAUTH Authentication required.”错误,那么需要用密码授权 使用 auth [密码] 就可以继续操作了