File tree 1 file changed +9
-5
lines changed
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -103,11 +103,15 @@ MySQL server settings
103
103
In your MySQL server configuration file you need to enable replication:
104
104
105
105
[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
111
115
112
116
Examples
113
117
=========
You can’t perform that action at this time.
0 commit comments