Fix Mariadb replication config
This patch changes name of Mariadb binary and relay log files. From now they start with 'mariadb' instead of 'mysql'. Thanks to this fact binary log names on a master and slaves have same name and we avoid mess in data directory once we promote one of slaves to the master. Change-Id: I18823b7a78e07b7999c937d068fb9cce9ed00285 Co-Authored-By: Kasper Hasior <k.hasior@samsung.com>
This commit is contained in:
parent
75784f94b1
commit
f8d5ece837
@ -1,4 +1,4 @@
|
||||
[mysqld]
|
||||
log_bin = /var/lib/mysql/data/mysql-bin.log
|
||||
relay_log = /var/lib/mysql/data/mysqld-relay-bin.log
|
||||
log_bin = /var/lib/mysql/data/mariadb-bin.log
|
||||
relay_log = /var/lib/mysql/data/mariadb-relay-bin.log
|
||||
read_only = true
|
||||
|
Loading…
Reference in New Issue
Block a user