Updates mysql to not use bitnami.
This commit is contained in:
@@ -4,34 +4,36 @@ metadata:
|
||||
name: mysql
|
||||
namespace: mysql
|
||||
data:
|
||||
my.cnf: |
|
||||
custom.cnf: |
|
||||
[mysqld]
|
||||
authentication_policy='* ,,'
|
||||
# Connection settings
|
||||
skip-name-resolve
|
||||
explicit_defaults_for_timestamp
|
||||
basedir=/opt/bitnami/mysql
|
||||
plugin_dir=/opt/bitnami/mysql/lib/plugin
|
||||
port={{ .apps.mysql.port }}
|
||||
mysqlx=0
|
||||
mysqlx_port=33060
|
||||
socket=/opt/bitnami/mysql/tmp/mysql.sock
|
||||
datadir=/bitnami/mysql/data
|
||||
tmpdir=/opt/bitnami/mysql/tmp
|
||||
max_allowed_packet=16M
|
||||
bind-address=*
|
||||
pid-file=/opt/bitnami/mysql/tmp/mysqld.pid
|
||||
log-error=/opt/bitnami/mysql/logs/mysqld.log
|
||||
character-set-server=UTF8
|
||||
slow_query_log=0
|
||||
long_query_time=10.0
|
||||
|
||||
max_connections=200
|
||||
max_allowed_packet=64M
|
||||
|
||||
# Character set
|
||||
character-set-server=utf8mb4
|
||||
collation-server=utf8mb4_unicode_ci
|
||||
|
||||
# Performance tuning
|
||||
innodb_buffer_pool_size=512M
|
||||
innodb_log_file_size=128M
|
||||
innodb_flush_log_at_trx_commit=2
|
||||
innodb_flush_method=O_DIRECT
|
||||
|
||||
# Query optimization
|
||||
slow_query_log=1
|
||||
long_query_time=2
|
||||
slow_query_log_file=/var/lib/mysql/slow-query.log
|
||||
|
||||
# Timeout settings
|
||||
wait_timeout=600
|
||||
interactive_timeout=600
|
||||
|
||||
# Binary logging (optional, for replication)
|
||||
# server-id=1
|
||||
# log_bin=/var/lib/mysql/mysql-bin
|
||||
# binlog_format=ROW
|
||||
|
||||
[client]
|
||||
port={{ .apps.mysql.port }}
|
||||
socket=/opt/bitnami/mysql/tmp/mysql.sock
|
||||
default-character-set=UTF8
|
||||
plugin_dir=/opt/bitnami/mysql/lib/plugin
|
||||
|
||||
[manager]
|
||||
port={{ .apps.mysql.port }}
|
||||
socket=/opt/bitnami/mysql/tmp/mysql.sock
|
||||
pid-file=/opt/bitnami/mysql/tmp/mysqld.pid
|
||||
default-character-set=utf8mb4
|
||||
Reference in New Issue
Block a user