-
Notifications
You must be signed in to change notification settings - Fork 14
/
config.toml
52 lines (42 loc) · 857 Bytes
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
replicate-do-db = ["eric"]
log-level = "debug"
worker-count = 2
batch = 10
status-addr = "127.0.0.1:10090"
server-id = 101
meta = "./syncer.meta"
#skip-ddls = ["ALTER\\s+TABLE\\s+\\S+\\s+MODIFY","ALTER\\s+TABLE\\s+\\S+\\s+CHANGE", "CREATE USER"]
#replicate-do-db = ["eric"]
[from]
host = "127.0.0.1"
user = "root"
password = "xxx"
port = 3306
[to]
host = "127.0.0.1"
user = "root"
password = "xxx"
port = 4000
#[[skip-dmls]]
#db-name = "eric"
#tbl-name = "t1"
#type = "delete"
#
#[[skip-dmls]]
#db-name = "eric"
#tbl-name = "t2"
#type = "update"
#[[replicate-do-table]]
#db-name ="eric"
#tbl-name = "~t2.*"
[[route-rules]]
pattern-schema = "eric"
target-schema = "test"
#[[route-rules]]
#pattern-schema = "test"
#pattern-table = "time.*"
#target-schema = "test"
#target-table = "time"
#[[replicate-ignore-table]]
#db-name = "eric"
#tbl-name = "t4"