如要使用 Amazon RDS MySQL 來源或不允許超級使用者權限的來源成功建立及執行遷移工作,可能需要額外執行幾個步驟。
建立 Amazon RDS MySQL 遷移工作
MySQL 將來源主機名稱定義限制在 60 個字元內。Amazon RDS 資料庫主機名稱通常會超過 60 個半形字元。如果您要遷移的資料庫符合上述情況,請設定 DNS 重新導向,建立 CNAME 記錄,將您的網域名稱與 Amazon RDS DB 執行個體的網域名稱建立關聯。如要進一步瞭解如何設定 DNS CNAME,請參閱 Cloud DNS 說明文件或 AWS Route53 說明文件。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-06-19 (世界標準時間)。"],[[["For Amazon RDS MySQL sources with hostnames exceeding 60 characters, configure a DNS redirect using a CNAME record to associate your domain name with the RDS instance's domain name."],["Binary logs for the migration process must be stored on standard block storage, not Amazon S3."],["Continuous migration jobs using manual dumps necessitate that `GTID` is enabled, with the `GTID_MODE` set to either `ON`, `OFF`, or `OFF_PERMISSIVE`, as `ON_PERMISSIVE` is not supported."],["To ensure a successful initial full dump, writes to the source database should be halted for approximately 20 seconds, either by using a read replica or directly on the source."],["The migration job status, trackable via the API, Console, or Cloud Monitoring, indicates when to stop writes (**Starting | Waiting for source writes to stop**) and resume writes (**Running | Full dump in progress**)."]]],[]]