08-27-周三_17-09-29
This commit is contained in:
12
Kubernetes/resources/mariadb.cnf
Normal file
12
Kubernetes/resources/mariadb.cnf
Normal file
@@ -0,0 +1,12 @@
|
||||
# master
|
||||
[mysqld]
|
||||
server-id=1
|
||||
log-bin=mysql-bin
|
||||
binlog_format=ROW
|
||||
sync_binlog=1
|
||||
|
||||
# slave
|
||||
[mysqld]
|
||||
server-id=2
|
||||
relay_log=mysql-relay-bin
|
||||
read_only=1
|
Reference in New Issue
Block a user