DBZ-1953 Rework configuration files
This commit is contained in:
parent
230ddaebdc
commit
11c8e9df3d
@ -172,7 +172,7 @@
|
||||
<inline>
|
||||
<fileSets>
|
||||
<fileSet>
|
||||
<directory>${project.basedir}/src/test/docker/server/${version.mysql.server}</directory>
|
||||
<directory>${project.basedir}/src/test/docker/server</directory>
|
||||
<includes>
|
||||
<include>my.cnf</include>
|
||||
</includes>
|
||||
@ -222,7 +222,7 @@
|
||||
<inline>
|
||||
<fileSets>
|
||||
<fileSet>
|
||||
<directory>${project.basedir}/src/test/docker/server-gtids/${version.mysql.server}</directory>
|
||||
<directory>${project.basedir}/src/test/docker/server-gtids</directory>
|
||||
<includes>
|
||||
<include>my.cnf</include>
|
||||
</includes>
|
||||
@ -276,7 +276,7 @@
|
||||
<inline>
|
||||
<fileSets>
|
||||
<fileSet>
|
||||
<directory>${project.basedir}/src/test/docker/server-replica/${version.mysql.server}</directory>
|
||||
<directory>${project.basedir}/src/test/docker/server-replica</directory>
|
||||
<includes>
|
||||
<include>my.cnf</include>
|
||||
</includes>
|
||||
|
@ -1,52 +0,0 @@
|
||||
# For advice on how to change settings please see
|
||||
# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html
|
||||
|
||||
[mysqld]
|
||||
#
|
||||
# Remove leading # and set to the amount of RAM for the most important data
|
||||
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
|
||||
# innodb_buffer_pool_size = 128M
|
||||
#
|
||||
# Remove leading # to turn on a very important data integrity option: logging
|
||||
# changes to the binary log between backups.
|
||||
# log_bin
|
||||
#
|
||||
# Remove leading # to set options mainly useful for reporting servers.
|
||||
# The server defaults are faster for transactions and fast SELECTs.
|
||||
# Adjust sizes as needed, experiment to find the optimal values.
|
||||
# join_buffer_size = 128M
|
||||
# sort_buffer_size = 2M
|
||||
# read_rnd_buffer_size = 2M
|
||||
skip-host-cache
|
||||
skip-name-resolve
|
||||
#datadir=/var/lib/mysql
|
||||
#socket=/var/lib/mysql/mysql.sock
|
||||
#secure-file-priv=/var/lib/mysql-files
|
||||
user=mysql
|
||||
|
||||
# Disabling symbolic-links is recommended to prevent assorted security risks
|
||||
symbolic-links=0
|
||||
|
||||
#log-error=/var/log/mysqld.log
|
||||
#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 = 3
|
||||
binlog_format = row
|
||||
|
||||
# ----------------------------------------------
|
||||
# Enable GTIDs on this master
|
||||
# ----------------------------------------------
|
||||
# GTID wasn't added until MySQL 5.6.5
|
||||
# gtid_mode = on
|
||||
# enforce_gtid_consistency = on
|
||||
|
@ -1,52 +0,0 @@
|
||||
# For advice on how to change settings please see
|
||||
# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html
|
||||
|
||||
[mysqld]
|
||||
#
|
||||
# Remove leading # and set to the amount of RAM for the most important data
|
||||
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
|
||||
# innodb_buffer_pool_size = 128M
|
||||
#
|
||||
# Remove leading # to turn on a very important data integrity option: logging
|
||||
# changes to the binary log between backups.
|
||||
# log_bin
|
||||
#
|
||||
# Remove leading # to set options mainly useful for reporting servers.
|
||||
# The server defaults are faster for transactions and fast SELECTs.
|
||||
# Adjust sizes as needed, experiment to find the optimal values.
|
||||
# join_buffer_size = 128M
|
||||
# sort_buffer_size = 2M
|
||||
# read_rnd_buffer_size = 2M
|
||||
skip-host-cache
|
||||
skip-name-resolve
|
||||
#datadir=/var/lib/mysql
|
||||
#socket=/var/lib/mysql/mysql.sock
|
||||
#secure-file-priv=/var/lib/mysql-files
|
||||
user=mysql
|
||||
|
||||
# Disabling symbolic-links is recommended to prevent assorted security risks
|
||||
symbolic-links=0
|
||||
|
||||
#log-error=/var/log/mysqld.log
|
||||
#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 = 3
|
||||
binlog_format = row
|
||||
|
||||
# ----------------------------------------------
|
||||
# Enable GTIDs on this master
|
||||
# ----------------------------------------------
|
||||
gtid_mode = on
|
||||
enforce_gtid_consistency = on
|
||||
|
||||
default_authentication_plugin = mysql_native_password
|
@ -1,6 +1,9 @@
|
||||
# For advice on how to change settings please see
|
||||
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
|
||||
# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html
|
||||
|
||||
# --------------------------------------------------------------------------------------------
|
||||
# This section specifies 5.5 and cross-version common configurations
|
||||
# --------------------------------------------------------------------------------------------
|
||||
[mysqld]
|
||||
#
|
||||
# Remove leading # and set to the amount of RAM for the most important data
|
||||
@ -43,6 +46,11 @@ log_bin = mysql-bin
|
||||
expire_logs_days = 3
|
||||
binlog_format = row
|
||||
|
||||
# --------------------------------------------------------------------------------------------
|
||||
# This section specifies 5.6 specific configurations
|
||||
# --------------------------------------------------------------------------------------------
|
||||
[mysqld-5.6]
|
||||
|
||||
# ----------------------------------------------
|
||||
# Enable GTIDs on this master
|
||||
# ----------------------------------------------
|
||||
@ -54,3 +62,29 @@ enforce_gtid_consistency = on
|
||||
log_slave_updates = on
|
||||
|
||||
default_authentication_plugin = mysql_native_password
|
||||
|
||||
# --------------------------------------------------------------------------------------------
|
||||
# This section specifies 5.7 specific configurations
|
||||
# --------------------------------------------------------------------------------------------
|
||||
[mysqld-5.7]
|
||||
|
||||
# ----------------------------------------------
|
||||
# Enable GTIDs on this master
|
||||
# ----------------------------------------------
|
||||
gtid_mode = on
|
||||
enforce_gtid_consistency = on
|
||||
|
||||
default_authentication_plugin = mysql_native_password
|
||||
|
||||
# --------------------------------------------------------------------------------------------
|
||||
# This section specifies 8.0 specific configurations
|
||||
# --------------------------------------------------------------------------------------------
|
||||
[mysqld-8.0]
|
||||
|
||||
# ----------------------------------------------
|
||||
# Enable GTIDs on this master
|
||||
# ----------------------------------------------
|
||||
gtid_mode = on
|
||||
enforce_gtid_consistency = on
|
||||
|
||||
default_authentication_plugin = mysql_native_password
|
@ -1,52 +0,0 @@
|
||||
# For advice on how to change settings please see
|
||||
# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html
|
||||
|
||||
[mysqld]
|
||||
#
|
||||
# Remove leading # and set to the amount of RAM for the most important data
|
||||
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
|
||||
# innodb_buffer_pool_size = 128M
|
||||
#
|
||||
# Remove leading # to turn on a very important data integrity option: logging
|
||||
# changes to the binary log between backups.
|
||||
# log_bin
|
||||
#
|
||||
# Remove leading # to set options mainly useful for reporting servers.
|
||||
# The server defaults are faster for transactions and fast SELECTs.
|
||||
# Adjust sizes as needed, experiment to find the optimal values.
|
||||
# join_buffer_size = 128M
|
||||
# sort_buffer_size = 2M
|
||||
# read_rnd_buffer_size = 2M
|
||||
skip-host-cache
|
||||
skip-name-resolve
|
||||
#datadir=/var/lib/mysql
|
||||
#socket=/var/lib/mysql/mysql.sock
|
||||
#secure-file-priv=/var/lib/mysql-files
|
||||
user=mysqlreplica
|
||||
|
||||
# Disabling symbolic-links is recommended to prevent assorted security risks
|
||||
symbolic-links=0
|
||||
|
||||
#log-error=/var/log/mysqld.log
|
||||
#pid-file=/var/run/mysqld/mysqld.pid
|
||||
|
||||
# ----------------------------------------------
|
||||
# Enable GTIDs on this master
|
||||
# ----------------------------------------------
|
||||
# GTIDs were not added until 5.6.5
|
||||
# gtid_mode = on
|
||||
# enforce_gtid_consistency = on
|
||||
log_slave_updates = on
|
||||
|
||||
# ----------------------------------------------
|
||||
# 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 = 445566
|
||||
log_bin = mysql-bin-slave
|
||||
expire_logs_days = 3
|
||||
binlog_format = row
|
@ -1,53 +0,0 @@
|
||||
# For advice on how to change settings please see
|
||||
# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html
|
||||
|
||||
[mysqld]
|
||||
#
|
||||
# Remove leading # and set to the amount of RAM for the most important data
|
||||
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
|
||||
# innodb_buffer_pool_size = 128M
|
||||
#
|
||||
# Remove leading # to turn on a very important data integrity option: logging
|
||||
# changes to the binary log between backups.
|
||||
# log_bin
|
||||
#
|
||||
# Remove leading # to set options mainly useful for reporting servers.
|
||||
# The server defaults are faster for transactions and fast SELECTs.
|
||||
# Adjust sizes as needed, experiment to find the optimal values.
|
||||
# join_buffer_size = 128M
|
||||
# sort_buffer_size = 2M
|
||||
# read_rnd_buffer_size = 2M
|
||||
skip-host-cache
|
||||
skip-name-resolve
|
||||
#datadir=/var/lib/mysql
|
||||
#socket=/var/lib/mysql/mysql.sock
|
||||
#secure-file-priv=/var/lib/mysql-files
|
||||
user=mysqlreplica
|
||||
|
||||
# Disabling symbolic-links is recommended to prevent assorted security risks
|
||||
symbolic-links=0
|
||||
|
||||
#log-error=/var/log/mysqld.log
|
||||
#pid-file=/var/run/mysqld/mysqld.pid
|
||||
|
||||
# ----------------------------------------------
|
||||
# Enable GTIDs on this master
|
||||
# ----------------------------------------------
|
||||
gtid_mode = on
|
||||
enforce_gtid_consistency = on
|
||||
log_slave_updates = on
|
||||
|
||||
# ----------------------------------------------
|
||||
# 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 = 445566
|
||||
log_bin = mysql-bin-slave
|
||||
expire_logs_days = 3
|
||||
binlog_format = row
|
||||
|
||||
default_authentication_plugin = mysql_native_password
|
@ -1,6 +1,9 @@
|
||||
# For advice on how to change settings please see
|
||||
# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html
|
||||
|
||||
# --------------------------------------------------------------------------------------------
|
||||
# This section specifies 5.5 and cross-version common configurations
|
||||
# --------------------------------------------------------------------------------------------
|
||||
[mysqld]
|
||||
#
|
||||
# Remove leading # and set to the amount of RAM for the most important data
|
||||
@ -33,14 +36,8 @@ symbolic-links=0
|
||||
# ----------------------------------------------
|
||||
# Enable GTIDs on this master
|
||||
# ----------------------------------------------
|
||||
gtid_mode = on
|
||||
enforce_gtid_consistency = on
|
||||
log_slave_updates = on
|
||||
|
||||
# ----------------------------------------------
|
||||
# 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.
|
||||
@ -50,4 +47,29 @@ log_bin = mysql-bin-slave
|
||||
expire_logs_days = 3
|
||||
binlog_format = row
|
||||
|
||||
# --------------------------------------------------------------------------------------------
|
||||
# This section specifies 5.6 specific configurations
|
||||
# --------------------------------------------------------------------------------------------
|
||||
[mysqld-5.6]
|
||||
gtid_mode = on
|
||||
enforce_gtid_consistency = on
|
||||
|
||||
default_authentication_plugin = mysql_native_password
|
||||
|
||||
# --------------------------------------------------------------------------------------------
|
||||
# This section specifies 5.7 specific configurations
|
||||
# --------------------------------------------------------------------------------------------
|
||||
[mysqld-5.7]
|
||||
gtid_mode = on
|
||||
enforce_gtid_consistency = on
|
||||
|
||||
default_authentication_plugin = mysql_native_password
|
||||
|
||||
# --------------------------------------------------------------------------------------------
|
||||
# This section specifies 8.0 specific configurations
|
||||
# --------------------------------------------------------------------------------------------
|
||||
[mysqld-8.0]
|
||||
gtid_mode = on
|
||||
enforce_gtid_consistency = on
|
||||
|
||||
default_authentication_plugin = mysql_native_password
|
@ -1,47 +0,0 @@
|
||||
# For advice on how to change settings please see
|
||||
# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html
|
||||
|
||||
[mysqld]
|
||||
#
|
||||
# Remove leading # and set to the amount of RAM for the most important data
|
||||
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
|
||||
# innodb_buffer_pool_size = 128M
|
||||
#
|
||||
# Remove leading # to turn on a very important data integrity option: logging
|
||||
# changes to the binary log between backups.
|
||||
# log_bin
|
||||
#
|
||||
# Remove leading # to set options mainly useful for reporting servers.
|
||||
# The server defaults are faster for transactions and fast SELECTs.
|
||||
# Adjust sizes as needed, experiment to find the optimal values.
|
||||
# join_buffer_size = 128M
|
||||
# sort_buffer_size = 2M
|
||||
# read_rnd_buffer_size = 2M
|
||||
skip-host-cache
|
||||
skip-name-resolve
|
||||
#datadir=/var/lib/mysql
|
||||
#socket=/var/lib/mysql/mysql.sock
|
||||
#secure-file-priv=/var/lib/mysql-files
|
||||
user=mysql
|
||||
|
||||
# Disabling symbolic-links is recommended to prevent assorted security risks
|
||||
symbolic-links=0
|
||||
|
||||
#log-error=/var/log/mysqld.log
|
||||
#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
|
||||
|
||||
|
||||
|
@ -1,48 +0,0 @@
|
||||
# For advice on how to change settings please see
|
||||
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
|
||||
|
||||
[mysqld]
|
||||
#
|
||||
# Remove leading # and set to the amount of RAM for the most important data
|
||||
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
|
||||
# innodb_buffer_pool_size = 128M
|
||||
#
|
||||
# Remove leading # to turn on a very important data integrity option: logging
|
||||
# changes to the binary log between backups.
|
||||
# log_bin
|
||||
#
|
||||
# Remove leading # to set options mainly useful for reporting servers.
|
||||
# The server defaults are faster for transactions and fast SELECTs.
|
||||
# Adjust sizes as needed, experiment to find the optimal values.
|
||||
# join_buffer_size = 128M
|
||||
# sort_buffer_size = 2M
|
||||
# read_rnd_buffer_size = 2M
|
||||
skip-host-cache
|
||||
skip-name-resolve
|
||||
#datadir=/var/lib/mysql
|
||||
#socket=/var/lib/mysql/mysql.sock
|
||||
#secure-file-priv=/var/lib/mysql-files
|
||||
user=mysql
|
||||
|
||||
# Disabling symbolic-links is recommended to prevent assorted security risks
|
||||
symbolic-links=0
|
||||
|
||||
#log-error=/var/log/mysqld.log
|
||||
#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
|
||||
|
||||
default_authentication_plugin = mysql_native_password
|
||||
|
||||
|
@ -1,6 +1,9 @@
|
||||
# For advice on how to change settings please see
|
||||
# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html
|
||||
|
||||
# --------------------------------------------------------------------------------------------
|
||||
# This section specifies 5.5 and cross-version common configurations
|
||||
# --------------------------------------------------------------------------------------------
|
||||
[mysqld]
|
||||
#
|
||||
# Remove leading # and set to the amount of RAM for the most important data
|
||||
@ -30,10 +33,6 @@ symbolic-links=0
|
||||
#log-error=/var/log/mysqld.log
|
||||
#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.
|
||||
@ -43,6 +42,20 @@ log_bin = mysql-bin
|
||||
expire_logs_days = 1
|
||||
binlog_format = row
|
||||
|
||||
# --------------------------------------------------------------------------------------------
|
||||
# This section specifies 5.6 specific configurations
|
||||
# --------------------------------------------------------------------------------------------
|
||||
[mysqld-5.6]
|
||||
default_authentication_plugin = mysql_native_password
|
||||
|
||||
# --------------------------------------------------------------------------------------------
|
||||
# This section specifies 5.7 specific configurations
|
||||
# --------------------------------------------------------------------------------------------
|
||||
[mysqld-5.7]
|
||||
default_authentication_plugin = mysql_native_password
|
||||
|
||||
# --------------------------------------------------------------------------------------------
|
||||
# This section specifies 8.0 specific configurations
|
||||
# --------------------------------------------------------------------------------------------
|
||||
[mysqld-8.0]
|
||||
default_authentication_plugin = mysql_native_password
|
Loading…
Reference in New Issue
Block a user