2020-07-10 00:58:55 +02:00
|
|
|
---
|
|
|
|
mariadb:
|
|
|
|
enabled: true
|
|
|
|
connection_user: root
|
|
|
|
connection_pass: password
|
|
|
|
connection_conv: None
|
|
|
|
databases: {}
|
|
|
|
users: {}
|
|
|
|
config:
|
|
|
|
mysqld:
|
|
|
|
options:
|
2023-02-04 19:53:42 +01:00
|
|
|
bind_address: 0.0.0.0
|
2020-07-10 00:58:55 +02:00
|
|
|
binlog_format: ROW
|
|
|
|
bulk_insert_buffer_size: 16M
|
2023-02-04 19:53:42 +01:00
|
|
|
expire_logs_days: 7
|
2020-07-10 00:58:55 +02:00
|
|
|
event_scheduler: 'ON'
|
2023-02-10 13:48:24 +01:00
|
|
|
innodb_buffer_pool_size: 1024M
|
2020-07-10 00:58:55 +02:00
|
|
|
innodb_file_per_table: 1
|
|
|
|
innodb_flush_method: O_DIRECT
|
2023-02-10 13:48:24 +01:00
|
|
|
innodb_io_capacity: 200
|
2020-07-10 00:58:55 +02:00
|
|
|
innodb_log_buffer_size: 8M
|
2023-02-10 13:48:24 +01:00
|
|
|
innodb_log_file_size: 64M
|
|
|
|
innodb_open_files: 100
|
2020-07-10 00:58:55 +02:00
|
|
|
key_buffer_size: 128M
|
|
|
|
log_slow_verbosity: query_plan
|
|
|
|
log_warnings: 2
|
2023-02-04 19:53:42 +01:00
|
|
|
log_bin: localhost
|
|
|
|
log_slave_updates: 1
|
2020-07-10 00:58:55 +02:00
|
|
|
long_query_time: 10
|
|
|
|
max_allowed_packet: 16M
|
|
|
|
max_binlog_size: 100M
|
|
|
|
max_connections: 20
|
2023-02-04 19:53:42 +01:00
|
|
|
max_heap_table_size: 64M
|
2023-02-10 13:48:24 +01:00
|
|
|
performance_schema: 'ON'
|
|
|
|
query_cache_limit: 512K
|
2020-07-10 00:58:55 +02:00
|
|
|
query_cache_size: 64M
|
2023-02-04 19:53:42 +01:00
|
|
|
read_buffer_size: 40M
|
2020-07-10 00:58:55 +02:00
|
|
|
read_rnd_buffer_size: 1M
|
2023-02-04 19:53:42 +01:00
|
|
|
server_id: 9999
|
2020-07-10 00:58:55 +02:00
|
|
|
slow_query_log_file: /var/log/mysql/mariadb-slow.log
|
|
|
|
sort_buffer_size: 8M
|
|
|
|
table_open_cache: 400
|
|
|
|
thread_cache_size: 128
|
|
|
|
tmp_table_size: 32M
|
2021-08-19 21:15:24 +02:00
|
|
|
wait_timeout: 600
|