1!include ../my.cnf 2 3[mysqld.1] 4enforce-gtid-consistency=ON 5gtid-mode=ON 6master-info-repository=TABLE 7relay-log-info-repository=TABLE 8binlog-rows-query-log-events= ON 9log-slave-updates 10 11[mysqld.2] 12enforce-gtid-consistency=ON 13gtid-mode=ON 14master-info-repository=TABLE 15relay-log-info-repository=TABLE 16binlog-rows-query-log-events= ON 17log-slave-updates 18 19[mysqld.3] 20enforce-gtid-consistency=ON 21gtid-mode=ON 22master-info-repository=TABLE 23relay-log-info-repository=TABLE 24binlog-rows-query-log-events= ON 25log-slave-updates 26 27[ENV] 28SERVER_MYPORT_3= @mysqld.3.port 29SERVER_MYSOCK_3= @mysqld.3.socket 30