MySQL 8.4 Reference Manual  /  Upgrading MySQL  /  Upgrade Paths

3.2 升级路径

Notes

表3.1 MySQL Server 升级路径

Upgrade Path Path Examples Supported Upgrade Methods
Within an LTS or Bugfix series 8.0.37 to 8.0.41 or 8.4.0 to 8.4.4 in-place upgradelogical dump and loadreplicationMySQL Clone
From an LTS or Bugfix series to the next LTS series 8.0.37 to 8.4.x LTS in-place upgradelogical dump and loadreplication
From an LTS or Bugfix release to an Innovation release before the next LTS series 8.0.34 to 8.3.0 or 8.4.0 to 9.0.0 in-place upgradelogical dump and loadreplication
From an Innovation series to the next LTS series 8.3.0 to 8.4 LTS in-place upgradelogical dump and loadreplication
From an Innovation series to an Innovation release after the next LTS series 不允许,需要两个步骤:8.3.0 to 8.4 LTS,和 8.4 LTS to 9.x Innovation in-place upgradelogical dump and loadreplication
From within an Innovation series 8.1.0 to 8.3.0 非侵入式升级, 逻辑备份和恢复, 和 复制
From MySQL 5.7 to an LTS or Innovation release MySQL 5.7 到 8.4 一个bugfix或LTS系列不能被跳过,所以在这个示例中,首先升级 MySQL 5.7 到 MySQL 8.0, 然后升级 MySQL 8.0 到 MySQL 8.4。