数据仓库服务 GAUSSDB(DWS)-使用CDM将MySQL数据迁移至GaussDB(DWS)集群:创建GaussDB(DWS)集群

时间:2024-09-14 17:38:49

创建 GaussDB (DWS)集群

  1. 参见创建集群进行创建,区域可选择“华北-北京四”。

    确保GaussDB(DWS)集群与 CDM 集群在同一区域,同一个VPC下。

  2. 参见使用gsql客户端连接集群连接到集群。
  3. 创建迁移前数据检查的目标数据库test01和test02,确保与原MySQL的数据库同名,数据库编码一致。

    1
    2
    create database test01 with encoding 'UTF-8' dbcompatibility 'mysql' template template0; 
    create database test02 with encoding 'UTF-8' dbcompatibility 'mysql' template template0; 
    

support.huaweicloud.com/bestpractice-dws/dws_05_9990.html