Enabled binary replication log on MySQL config used in integration tests

This commit is contained in:
Randall Hauch 2015-11-19 09:14:32 -06:00
parent bc3be4516a
commit 42926f17f3

View File

@ -30,3 +30,17 @@ symbolic-links=0
log-error=/var/log/mysqld.log log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid pid-file=/var/run/mysqld/mysqld.pid
# ----------------------------------------------
# Debezium ingest
# ----------------------------------------------
# Enable binary replication log and set the prefix, expiration, and log format.
# The prefix is arbitrary, expiration can be short for integration tests but would
# be longer on a production system. Row-level info is required for ingest to work.
# Server ID is required, but this will vary on production systems
server-id = 112233
log_bin = mysql-bin
expire_logs_days = 1
binlog_format = row