在/etc/my.cnf添加需要进行同步的数据库信息
#需要进行同步的数据库 #replicate-do-db=custmgr
#replicate-do-db=sdata
#replicate-ignore-db=mysql
replicate-wild-ignore-table=mysql.%
replicate-wild-ignore-table=test.%
replicate-wild-ignore-table=information_schema.%
replicate-wild-ignore-table=performance_schema.%
replicate-wild-ignore-table=sys.%