Skip to content

支持mysql同步库名转换么,源库名A,目标库名B,库内表结构数据是一致的 #355

Description

@twyl3513

想这样操作# The definition of the routing rule
[[output.config.routes]]
match-schema = "zbxtable"
match-table = ""
target-schema = "test"
target-table = "
"

{"level":"info","msg":"QueryEvent: database: zbxtable, sql: create table zbxtable.testsync1 (t1 integer ,t2 varchar(255))","time":"2026-03-31T17:46:41+08:00"}
{"level":"info","msg":"[binlogTailer] ddl done with gtid: d13b674f-fb3f-11f0-a80f-005056bfe02b:1-54135, stmt: create table zbxtable.testsync1 (t1 integer ,t2 varchar(255))","time":"2026-03-31T17:46:41+08:00"}
{"level":"warning","msg":"error execute sync output, retry. [output-mysql] schema zbxtable.testsync1 not found","time":"2026-03-31T17:47:33+08:00"}

insert数据报错

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions