07-20-2023, 10:47 AM
I am trying to export my database from MySQL Workbench but I get this during the export progress:
> Running: mysqldump.exe
> --defaults-file="c:\users\user\appdata\local\temp\tmp2h91wa.cnf" --user=root --host=localhost --protocol=tcp --port=3306 --default-character-set=utf8 --skip-triggers "mydb" mysqldump: Couldn't execute 'SELECT COLUMN_NAME,
> JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"')
> FROM information_schema.COLUMN_STATISTICS WHERE
> SCHEMA_NAME = 'mydb' AND TABLE_NAME = 'courses';': Unknown table
> 'column_statistics' in information_schema (1109)
>
> Operation failed with exitcode 2 20:55:09 Export of
> C:\Users\user\Documents\dumps\mydb.sql has finished with 1 errors
> Running: mysqldump.exe
> --defaults-file="c:\users\user\appdata\local\temp\tmp2h91wa.cnf" --user=root --host=localhost --protocol=tcp --port=3306 --default-character-set=utf8 --skip-triggers "mydb" mysqldump: Couldn't execute 'SELECT COLUMN_NAME,
> JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"')
> FROM information_schema.COLUMN_STATISTICS WHERE
> SCHEMA_NAME = 'mydb' AND TABLE_NAME = 'courses';': Unknown table
> 'column_statistics' in information_schema (1109)
>
> Operation failed with exitcode 2 20:55:09 Export of
> C:\Users\user\Documents\dumps\mydb.sql has finished with 1 errors