mysql8.0使用mysqldump报错:Unknown table ‘column_statistics‘ in information_schema (1109)

脚本:

#!/bin/bash
mysqldump -h127.0.0.1 -uroot -p123456 test > 1.sql

报错:

Unknown table 'COLUMN_STATISTICS' in information_schema (1109)

解决:添加参数 –column-statistics=0

 

分析:多是mysql8.0+高版本的 mysqldump命令 去访问低版本的mysql实例发生

posted @ 2020-12-24 16:56  郭大侠1  阅读(2192)  评论(0编辑  收藏  举报