drainer启动失败

Starting component drainer
Starting instance drainer 10.3.87.221:8249
drainer 10.3.87.221:8249 failed to start: timed out waiting for port 8249 to be started after 1m0s

Error: failed to start: failed to start drainer: drainer 10.3.87.221:8249 failed to start: timed out waiting for port 8249 to be started after 1m0s: timed out waiting for port 8249 to be started after 1m0s

先前用的好好的。改了一下配制就不行了

[syncer]
db-type = “mysql”
[[syncer.replicate-do-table]]
db-name = “mdb”
tbl-name = “~inf_fd_*”
[syncer.to]
host = “10.3.87.54”
password = “123”
port = 3306
user = “root”

tiup-cluster-debug-2020-09-09-13-49-23.log (469.9 KB)

换成
tbl-name = “~^inf_fd_*”

试下,不行的话,给下 drainer.log

看了一下,发现该用记没有权限建库。tidb_binlog创建失败。被同步的库的用户需要建库权限,或事先建好库与表。在给对应用户增删除查改的权限

赋予权限后,已经成功启动了吧?

可以了

:ok_hand: