59 lines
1.5 KiB
YAML
59 lines
1.5 KiB
YAML
---
|
|
mariadb:
|
|
enabled: true
|
|
connection_user: root
|
|
connection_pass: password
|
|
connection_conv: None
|
|
pkgs:
|
|
- libmariadb-dev
|
|
# - libmariadbclient18
|
|
- mariadb-client
|
|
- mariadb-backup
|
|
- mariadb-server
|
|
- mariadb-plugin-rocksdb
|
|
pip_pkgs:
|
|
- mysqlclient
|
|
databases: {}
|
|
users: {}
|
|
client:
|
|
mysql:
|
|
options:
|
|
prompt: '"\\u@\\h:\\d> "'
|
|
server:
|
|
mysqld:
|
|
options:
|
|
bind_address: 0.0.0.0
|
|
binlog_format: ROW
|
|
bulk_insert_buffer_size: 16M
|
|
expire_logs_days: 7
|
|
event_scheduler: 'ON'
|
|
innodb_buffer_pool_size: 512M
|
|
innodb_file_per_table: 1
|
|
innodb_flush_method: O_DIRECT
|
|
innodb_io_capacity: 200
|
|
innodb_log_buffer_size: 8M
|
|
innodb_log_file_size: 64M
|
|
innodb_open_files: 100
|
|
key_buffer_size: 64M
|
|
log_slow_verbosity: query_plan
|
|
log_warnings: 2
|
|
log_bin: localhost
|
|
log_slave_updates: 1
|
|
long_query_time: 10
|
|
max_allowed_packet: 16M
|
|
max_binlog_size: 50M
|
|
max_connections: 10
|
|
max_heap_table_size: 64M
|
|
performance_schema: 'ON'
|
|
query_cache_limit: 512K
|
|
query_cache_size: 32M
|
|
read_buffer_size: 20M
|
|
read_rnd_buffer_size: 1M
|
|
server_id: 9999
|
|
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
|
|
wait_timeout: 600
|