Hi,
when I was using sulu:export commnad I have error like this.
mysqldump: Couldn't execute 'SELECT COLUMN_NAME, JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"') FROM information_schema.COLUMN_STATISTICS WHERE SCHEMA_NAME = 'db_name' AND TABLE_NAME = 'ca_categories';': Unknown table 'COLUMN_STATISTICS' in information_schema (1109)
According to what is written https://serverfault.com/a/912677This is due to a new flag that is enabled by default in mysqldump 8, adding --column-statistics=0 to mysqldump command fixes the problem.
Hi, when I was using
sulu:export
commnad I have error like this.According to what is written https://serverfault.com/a/912677 This is due to a new flag that is enabled by default in mysqldump 8, adding
--column-statistics=0
to mysqldump command fixes the problem.So maybe a change in exportDatabase() method to:
will solve problems in future.