File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -103,11 +103,15 @@ MySQL server settings
103103In your MySQL server configuration file you need to enable replication:
104104
105105 [mysqld]
106- server-id = 1
107- log_bin = /var/log/mysql/mysql-bin.log
108- expire_logs_days = 10
109- max_binlog_size = 100M
110- binlog-format = row #Very important if you want to receive write, update and delete row events
106+ server-id = 1
107+ log_bin = /var/log/mysql/mysql-bin.log
108+ binlog_expire_logs_seconds = 864000
109+ max_binlog_size = 100M
110+ binlog-format = ROW #Very important if you want to receive write, update and delete row events
111+ binlog_row_metadata = FULL
112+ binlog_row_image = FULL
113+
114+ reference: https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html
111115
112116Examples
113117=========
You can’t perform that action at this time.
0 commit comments