2023-04-03T10:52:09.465937+08:00 11220648 [ERROR] InnoDB: Column table_name in table `mysql`.`innodb_table_stats` is VARCHAR(597) NOT NULL but should be VARCHAR(192) NOT NULL (length mismatch). 2023-04-03T10:52:09.465947+08:00 11220648 [ERROR] InnoDB: Fetch of persistent statistics requested for table `db_name_xxx`.`abs_loan_def` but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead. 2023-04-03T10:52:09.466215+08:00 11220648 [ERROR] InnoDB: Column table_name in table `mysql`.`innodb_table_stats` is VARCHAR(597) NOT NULL but should be VARCHAR(192) NOT NULL (length mismatch). 2023-04-03T10:52:09.466226+08:00 11220648 [ERROR] InnoDB: Fetch of persistent statistics requested for table `db_name_xxx`.`abs_loan_feature` but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead. 2023-04-03T10:52:09.466468+08:00 11220648 [ERROR] InnoDB: Column table_name in table `mysql`.`innodb_table_stats` is VARCHAR(597) NOT NULL but should be VARCHAR(192) NOT NULL (length mismatch). 2023-04-03T10:52:09.466478+08:00 11220648 [ERROR] InnoDB: Fetch of persistent statistics requested for table `db_name_xxx`.`abs_payment` but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead. 2023-04-03T10:52:09.467033+08:00 11220648 [ERROR] InnoDB: Column table_name in table `mysql`.`innodb_table_stats` is VARCHAR(597) NOT NULL but should be VARCHAR(192) NOT NULL (length mismatch). 2023-04-03T10:52:09.467054+08:00 11220648 [ERROR] InnoDB: Fetch of persistent statistics requested for table `db_name_xxx`.`abs_pi_rec_pool` but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead. 2023-04-03T10:52:09.467317+08:00 11220648 [ERROR] InnoDB: Column table_name in table `mysql`.`innodb_table_stats` is VARCHAR(597) NOT NULL but should be VARCHAR(192) NOT NULL (length mismatch). 2023-04-03T10:52:09.467329+08:00 11220648 [ERROR] InnoDB: Fetch of persistent statistics requested for table `db_name_xxx`.`abs_pool_feature` but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead.
从内容看,感觉是迁移过来的元数据和实际版本不匹配,数据是通过 xtrabackup 备份,传输过来用 IDC 服务器本地 mysql 启动的。本地版本是 5.7.21。