📅  最后修改于: 2022-03-11 15:05:30.645000             🧑  作者: Mango
[mysqld]
binlog_format = ROW
log_bin = binlog #The slave is going to copy all of the changes that are registered in the log.
expire_logs_days = 10
server_id = 1 #number must be unique and cannot match any other server-id in your replication group
log_slave_updates = 1
binlog_do_db = databasename #You can include more than one database by repeating this line for all of the databases.