PinoCao

Results 2 issues of PinoCao

- 使用场景为:MySQL同步数据到MySQL,下游MySQL实例中的库名需要修改, 相关issue: https://github.com/alibaba/canal/issues/5216 - 当 dbMapping 中 mirrorDb 为 true时,支持通过设置 targetDb 来进行改库名操作 - rdb配置实例如下 ``` concurrent: true dataSourceKey: demoSyncDS dbMapping: commitBatch: 3000 database: test0718 mirrorDb: true targetDb: test0723 destination:...

## Question ### canal版本 1.1.7 ### 问题描述 - 想要增量同步test0718库的数据到改名的库test0723中,如何写dbMapping配置, 目前只要指定表名才能正常同步,配置如下: ``` concurrent: true dataSourceKey: demoSyncDS destination: test-1721045534 groupId: g1 outerAdapterKey: mysql0 dbMapping: commitBatch: 3000 database: test0718 targetDb: test0723 table: t1...