26
27 replicate-ignore-table=umsdb.boco_tb_connect_log
28
29 replicate-ignore-table=umsdb.boco_tb_data_stat
30
31 replicate-ignore-table=umsdb.boco_tb_log_record
32
33 replicate-ignore-table=umsdb.boco_tb_workorder_record
2、以root用户登录ServB,修改ServB的my.cnf文件
vi /etc/my.cnf
在[mysqld]的配置项中增加如下配置:
1 default-character-set=utf8
2
3 log-bin=mysql-bin
4
5 relay-log=relay-bin
6
7 relay-log-index=relay-bin-index
8
9 server-id=2
10
11 master-host=10.240.136.9
12
13 master-user=tongbu
文章来源于领测软件测试网 https://www.ltesting.net/