mysqldump -8.0.21版本导出报错 因为新版的mysqldump默认启用了一个新标志,通过- -column-statistics=0来禁用他 或者修改my.cnf [mysqldump] column-statistics=0