Published Dec 15, 2022
[
 
]
This is due to a new flag that is enabled by default in mysqldump 8. You
can disable it by adding --column-statistics=0
. The command will be
something like:
mysqldump --column-statistics=0 --host=<server> --user=<user> --password=<password>
To disable column statistics by default, you can add
[mysqldump]
column-statistics=0
to a MySQL config file, go to /etc/my.cnf
, ~/.my.cnf
, or directly to /etc/mysql/mysql.cnf
.