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:
Bertrand Lallau 2017-03-19 09:38:24 +01:00
parent 7ade914531
commit dff062b3a6

View File

@ -16,6 +16,7 @@ port={{ mariadb_port }}
log-error=/var/log/kolla/mariadb/mariadb.log
log-bin=mysql-bin
binlog_format=ROW
default-storage-engine=innodb
innodb_autoinc_lock_mode=2