tidb在使用binlog开启双向同步时 上游数据库drainer组件报错
【附件】
[FATAL] [main.go:50] [“create drainer server failed”] [error=“initialize tidb type checkpoint with config &{CheckpointType:tidb Db:0xc000624640 Schema:tidb_binlog Table:checkpoint ClusterID:6992478215125974120 InitialCommitTS:0 CheckPointFile:/home/tidb-data/drainer-18249/savepoint}: open db failed: dial tcp : connect: no route to host”] [errorVerbose=“dial tcp : connect: no route to host\ngithub.com/pingcap/errors.AddStack\
\t/go/pkg/mod/github.com/pingcap/errors@v0.11.5-0.20201126102027-b0a155152ca3/errors.go:174\
github.com/pingcap/errors.Trace\
\t/go/pkg/mod/github.com/pingcap/errors@v0.11.5-0.20201126102027-b0a155152ca3/juju_adaptor.go:15\
github.com/pingcap/tidb-binlog/pkg/loader.createDBWitSessions\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb-binlog/pkg/loader/util.go:121\
github.com/pingcap/tidb-binlog/pkg/loader.CreateDBWithSQLMode\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb-binlog/pkg/loader/util.go:164\
github.com/pingcap/tidb-binlog/pkg/loader.CreateDB\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb-binlog/pkg/loader/util.go:169\
github.com/pingcap/tidb-binlog/drainer/checkpoint.newMysql\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb-binlog/drainer/checkpoint/mysql.go:61\
github.com/pingcap/tidb-binlog/drainer/checkpoint.NewCheckPoint\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb-binlog/drainer/checkpoint/checkpoint.go:57\
github.com/pingcap/tidb-binlog/drainer.NewServer\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb-binlog/drainer/server.go:142\
main.main\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb-binlog/cmd/drainer/main.go:48\
runtime.main\
\t/usr/local/go/src/runtime/proc.go:203\
runtime.goexit\
\t/usr/local/go/src/runtime/asm_amd64.s:1357\
open db failed\
initialize tidb type checkpoint with config &{CheckpointType:tidb Db:0xc000624640 Schema:tidb_binlog Table:checkpoint ClusterID:6992478215125974120 InitialCommitTS:0 CheckPointFile:/home/tidb-data/drainer-18249/savepoint}”] [stack=“main.main\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb-binlog/cmd/drainer/main.go:50\
runtime.main\
\t/usr/local/go/src/runtime/proc.go:203”]