Skip to content

Commit c22af13

Browse files
committed
build(config): 🔧 updated mysql configuration for development t… (accessibility-exchange#1782)
build(config): 🔧 updated mysql configuration for development to have slow transaction logging
1 parent 5f282c4 commit c22af13

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

.kube/db/values.development.yaml

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
primary:
2+
persistence:
3+
size: 10Gi
4+
configuration: |-
5+
[mysqld]
6+
basedir=/opt/bitnami/mysql
7+
bind-address=0.0.0.0
8+
character-set-server=UTF8
9+
collation-server=utf8_general_ci
10+
datadir=/bitnami/mysql/data
11+
default_authentication_plugin=mysql_native_password
12+
explicit_defaults_for_timestamp
13+
innodb_buffer_pool_size=1G
14+
innodb_doublewrite=1
15+
innodb_flush_log_at_trx_commit=1
16+
innodb_flush_method=O_DIRECT
17+
innodb_lock_wait_timeout=100
18+
innodb_log_buffer_size=16M
19+
innodb_max_dirty_pages_pct=80
20+
innodb_thread_concurrency=0
21+
log-error=/opt/bitnami/mysql/logs/mysqld.log
22+
long_query_time=20.0
23+
max_allowed_packet=16M
24+
pid-file=/opt/bitnami/mysql/tmp/mysqld.pid
25+
plugin_dir=/opt/bitnami/mysql/lib/plugin
26+
port=3306
27+
skip-name-resolve
28+
slow_query_log=1
29+
slow_query_log_file=/opt/bitnami/mysql/logs/mysqld.log
30+
socket=/opt/bitnami/mysql/tmp/mysql.sock
31+
table_definition_cache=2048
32+
table_open_cache=512
33+
tmpdir=/opt/bitnami/mysql/tmp
34+
[client]
35+
default-character-set=UTF8
36+
plugin_dir=/opt/bitnami/mysql/lib/plugin
37+
port=3306
38+
socket=/opt/bitnami/mysql/tmp/mysql.sock
39+
[manager]
40+
pid-file=/opt/bitnami/mysql/tmp/mysqld.pid
41+
port=3306
42+
socket=/opt/bitnami/mysql/tmp/mysql.sock
43+
secondary:
44+
persistence:
45+
size: 10Gi
46+
### Place those values in Vault
47+
# auth:
48+
# database: ""
49+
# username: ""
50+
# password: ""
51+
# rootPassword: ""
52+
# replicationPassword: ""

0 commit comments

Comments
 (0)