File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 118118log " INFO" " Storing default mysqld config into /etc/mysql/my.cnf"
119119mkdir -p /etc/mysql/group-replication.conf.d/
120120echo " !includedir /etc/mysql/group-replication.conf.d/" >> /etc/mysql/my.cnf
121+ echo " !includedir /etc/mysql/conf.d/" >> /etc/mysql/my.cnf
121122
122123cat >> /etc/mysql/group-replication.conf.d/group.cnf << EOL
123124[mysqld]
@@ -141,6 +142,10 @@ loose-group_replication_start_on_boot = OFF
141142loose-group_replication_ssl_mode = REQUIRED
142143loose-group_replication_recovery_use_ssl = 1
143144
145+ # recommended config
146+ innodb_buffer_pool_size = "$INNODB_BUFFER_POOL_SIZE "
147+ expire_logs_days = "$EXPIRE_LOGS_DAYS "
148+
144149# Shared replication group configuration
145150loose-group_replication_group_name = "${GROUP_NAME} "
146151#loose-group_replication_ip_whitelist = "AUTOMATIC"
You can’t perform that action at this time.
0 commit comments