Skip to content

Commit 0980c8e

Browse files
committed
Update slave.cnf
1 parent 29df4aa commit 0980c8e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

5.7/slave.cnf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
[mysqld]
44
log_bin=mysql-bin
5+
relay_log=/var/lib/mysql/mysql-relay-bin
6+
log_slave_updates=1
7+
read_only=1
58

69
# join_buffer_size = 128M
710
# sort_buffer_size = 2M

0 commit comments

Comments
 (0)