mysqldump抛出:information_schema中的未知表'COLUMN_STATISTICS'(1109)
每次我尝试使a时mysqldump,都会出现以下错误: $> mysqldump --single-transaction --host host -u user -p db > db.sql mysqldump: Couldn't execute 'SELECT COLUMN_NAME, JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"') FROM information_schema.COLUMN_STATISTICS WHERE SCHEMA_NAME = 'db' AND TABLE_NAME = 'Absence';': Unknown table 'COLUMN_STATISTICS' in information_schema (1109) 结果是转储不完整。奇怪的是,从另一台主机执行的同一命令可以正常工作而不会引发任何错误。有人遇到过同样的问题吗? 我正在使用mysql-client 8.0并尝试访问mysql 5-7服务器-也许那是原因?