Database Migration Service 支持从源数据库到 Cloud SQL 目标数据库的一次性和持续迁移。
支持的源数据库
Amazon RDS 5.6、5.7、8.0
自行管理的 MySQL(在本地或由您完全控制的任何云端虚拟机上)5.5、5.6、5.7、8.0
Cloud SQL for MySQL 5.6、5.7、8.0、8.4
Amazon Aurora 5.6、5.7、8.0
Microsoft Azure Database for MySQL 5.7、8.0
对于 MySQL 8.0 源,Database Migration Service 还支持以下次要版本:8.0.18、8.0.26、8.0.27、8.0.28、8.0.30、8.0.31、8.0.32、8.0.33、8.0.34、8.0.35、8.0.36、8.0.37、8.0.39、8.0.40、8.0.41、8.0.42。
Database Migration Service 与 MariaDB 不兼容。
支持的目标数据库
Cloud SQL for MySQL 5.6 和 5.7
Cloud SQL for MySQL 8.0,包括以下次要版本:8.0.18、8.0.26、8.0.27、8.0.28、8.0.30、8.0.31、8.0.32、8.0.33、8.0.34、8.0.35、8.0.36、8.0.37、8.0.39、8.0.40、8.0.41、8.0.42。
Cloud SQL for MySQL 8.4,但存在一些限制。例如,MySQL 8.4 目标位置不支持使用物理备份文件的迁移。如需了解详情,请参阅已知限制。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-08。"],[[["\u003cp\u003eDatabase Migration Service facilitates both one-time and continuous migrations from various source databases to Cloud SQL destination databases.\u003c/p\u003e\n"],["\u003cp\u003eSupported source databases include Amazon RDS, self-managed MySQL, Cloud SQL for MySQL, Amazon Aurora, and Microsoft Azure Database for MySQL, with specific version compatibility.\u003c/p\u003e\n"],["\u003cp\u003eFor MySQL 8.0 sources and destinations, Database Migration Service supports a wide range of minor versions, such as 8.0.18, 8.0.26, and upwards, among others.\u003c/p\u003e\n"],["\u003cp\u003eCloud SQL for MySQL is the supported destination, including versions 5.6, 5.7, and 8.0, with version 8.4 having certain migration limitations, and migration to earlier minor versions from later ones is not recommended.\u003c/p\u003e\n"],["\u003cp\u003eMariaDB is not compatible with Database Migration Service.\u003c/p\u003e\n"]]],[],null,["# Supported source and destination databases\n\n\u003cbr /\u003e\n\nMySQL \\| [PostgreSQL](/database-migration/docs/postgres/migration-src-and-dest \"View this page for the PostgreSQL version of Database Migration Service.\") \\| [PostgreSQL to AlloyDB](/database-migration/docs/postgresql-to-alloydb/migration-src-and-dest \"View this page for the PostgreSQL to AlloyDB version of Database Migration Service.\")\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nOverview\n--------\n\nDatabase Migration Service supports one-time and continuous migrations from source databases to Cloud SQL destination databases.\n\n### Supported source databases\n\n- Amazon RDS 5.6, 5.7, 8.0\n- Self-managed MySQL (on premises or on any cloud VM that you fully control) 5.5, 5.6, 5.7, 8.0\n- Cloud SQL for MySQL 5.6, 5.7, 8.0, 8.4\n- Amazon Aurora 5.6, 5.7, 8.0\n- Microsoft Azure Database for MySQL 5.7, 8.0\n\nFor MySQL 8.0 sources, Database Migration Service also supports the following minor versions:\n8.0.18, 8.0.26, 8.0.27, 8.0.28, 8.0.30, 8.0.31, 8.0.32, 8.0.33, 8.0.34, 8.0.35, 8.0.36, 8.0.37,\n8.0.39, 8.0.40, 8.0.41, 8.0.42.\n\nDatabase Migration Service isn't compatible with MariaDB.\n\n### Supported destination databases\n\n- Cloud SQL for MySQL 5.6 and 5.7\n- Cloud SQL for MySQL 8.0 including the following minor versions: 8.0.18, 8.0.26, 8.0.27, 8.0.28, 8.0.30, 8.0.31, 8.0.32, 8.0.33, 8.0.34, 8.0.35, 8.0.36, 8.0.37, 8.0.39, 8.0.40, 8.0.41, 8.0.42.\n- Cloud SQL for MySQL 8.4 with certain limitations. For example, migrations that use physical backup files are not supported for MySQL 8.4 destinations. For more information, see [Known limitations](/database-migration/docs/mysql/known-limitations).\n\n| **Note:** Migrating from a later minor version to an earlier minor version is not recommended."]]