由於 MySQL 版本問題匯入報錯

來源:互聯網
上載者:User

標籤:資料庫版本   tables   instead   錯誤記錄檔   require   ransient   fetch   structure   present   

問題:
匯入 mysqldump匯出的資料庫時,錯誤記錄檔報如下的錯誤

2018-09-03T01:49:15.741378Z 6 [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).2018-09-03T01:49:15.741444Z 6 [ERROR] InnoDB: Fetch of persistent statistics requested for table `ebusbar_boss_db`.`s_kpi` 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.2018-09-03T01:49:37.973418Z 7 [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).2018-09-03T01:49:37.973484Z 7 [ERROR] InnoDB: Fetch of persistent statistics requested for table `ebusbar_boss_db`.`s_kpi_daily` 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.2018-09-03T01:49:47.627903Z 8 [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).2018-09-03T01:49:47.627952Z 8 [ERROR] InnoDB: Fetch of persistent statistics requested for table `ebusbar_boss_db`.`s_company` 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.

原因:
資料庫版本不一致,來源資料庫為 mysqld 5.7.23,目標資料庫為 mysqld 5.7.22

由於 MySQL 版本問題匯入報錯

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.