Activate binary-logs in MariaDB/MySQL
The binary log contains a record of all changes to the databases, both data and structure. It consists of a set of binary log files and an index. Activate it in MariaDB will fix Telegraf error on Mysql/MariaDB inputs retrieval. Change-Id: I040ed75ffbf1afded87ba0f8f63a3e384707d1fb Closes-Bug: #1673969
This commit is contained in:
parent
7ade914531
commit
dff062b3a6
@ -16,6 +16,7 @@ port={{ mariadb_port }}
|
|||||||
|
|
||||||
log-error=/var/log/kolla/mariadb/mariadb.log
|
log-error=/var/log/kolla/mariadb/mariadb.log
|
||||||
|
|
||||||
|
log-bin=mysql-bin
|
||||||
binlog_format=ROW
|
binlog_format=ROW
|
||||||
default-storage-engine=innodb
|
default-storage-engine=innodb
|
||||||
innodb_autoinc_lock_mode=2
|
innodb_autoinc_lock_mode=2
|
||||||
|
Loading…
Reference in New Issue
Block a user