2020-07-10 00:58:55 +02:00
|
|
|
---
|
|
|
|
mariadb:
|
|
|
|
enabled: true
|
|
|
|
connection_user: root
|
|
|
|
connection_pass: password
|
|
|
|
connection_conv: None
|
2023-06-29 08:56:20 +02:00
|
|
|
pkgs:
|
|
|
|
- libmariadb-dev
|
|
|
|
# - libmariadbclient18
|
|
|
|
- mariadb-client
|
|
|
|
- mariadb-backup
|
|
|
|
- mariadb-server
|
|
|
|
- mariadb-plugin-rocksdb
|
|
|
|
pip_pkgs:
|
|
|
|
- mysqlclient
|
2020-07-10 00:58:55 +02:00
|
|
|
databases: {}
|
|
|
|
users: {}
|
2023-08-26 09:48:32 +02:00
|
|
|
client:
|
|
|
|
mysql:
|
|
|
|
options:
|
|
|
|
prompt: "\\u@\\h:\\d> "
|
|
|
|
server:
|
2020-07-10 00:58:55 +02:00
|
|
|
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-06-29 08:56:20 +02:00
|
|
|
innodb_buffer_pool_size: 512M
|
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
|
2023-08-07 16:01:59 +02:00
|
|
|
key_buffer_size: 64M
|
2020-07-10 00:58:55 +02:00
|
|
|
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
|
2023-05-17 13:20:04 +02:00
|
|
|
max_binlog_size: 50M
|
2023-08-07 16:01:59 +02:00
|
|
|
max_connections: 10
|
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
|
2023-08-07 16:01:59 +02:00
|
|
|
query_cache_size: 32M
|
|
|
|
read_buffer_size: 20M
|
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
|