MENU

阿里云DTS 同步失败

August 22, 2019 • Read: 2574 • 阿里云

dts同步,源库表a1备份为表a2,然后修改表2内容没问题,将表一删掉,重命名表a2为表a1,目标库报错,找不到源库表a1

环境说明,源库为aws的rds,目标库为ec2的自建数据库,在源库执行 Drop table a; 返回没有这个表
进到数据库文件目录,找到表 a1.frm(实际表名为准) 这个文件,删掉,然后重新创建表就OK了

查不出来表
show tables;

可以查到表
select TABLE_NAME from information_schema.tables where TABLE_NAME like '%gk_sale%';

任务迁移失败,DTS-071007: Schema matched failed. cause by [Can not find column has_cate<-->has_cate[true] in target table gimp.gk_sale] About more information in [https://yq.aliyun.com/articles/499602]

兼总条贯 知至知终