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实例发生

上一篇:PHP用PDO调用MYSQL显示Server sent charset unknown to the client


下一篇:Jest报错:Unknown custom element: <router-link> - did you register the component correctly?