45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
---
|
|
mariadb_user: root
|
|
mariadb_password: secret
|
|
mariadb_master: no
|
|
mariadb_autorestart: no
|
|
mariadb_users: []
|
|
mariadb_databases: []
|
|
mariadb_config: {}
|
|
mariadb_default_config:
|
|
client-server: {}
|
|
client:
|
|
default-character-set: utf8mb4
|
|
mysql:
|
|
default-character-set: utf8mb4
|
|
server: {}
|
|
mariadb: {}
|
|
mysqld_safe:
|
|
socket: /var/run/mysqld/mysqld.sock
|
|
nice: 0
|
|
skip_log_error: true
|
|
syslog: true
|
|
mysqld:
|
|
user: mysql
|
|
pid-file: /var/run/mysqld/mysqld.pid
|
|
socket: /var/run/mysqld/mysqld.sock
|
|
bind-address: 127.0.0.1
|
|
port: 3306
|
|
basedir: /usr
|
|
datadir: /var/lib/mysql
|
|
tmpdir: /tmp
|
|
lc-messages-dir: /usr/share/mysql
|
|
skip-external-locking: true
|
|
key_buffer_size: 16M
|
|
max_allowed_packet: 16M
|
|
thread_stack: 192K
|
|
thread_cache_size: 8
|
|
myisam_recover_options: BACKUP
|
|
query_cache_limit: 1M
|
|
query_cache_size: 16M
|
|
log_error: /var/log/mysql/error.log
|
|
expire_logs_days: 10
|
|
max_binlog_size: 100M
|
|
character-set-server: utf8mb4
|
|
collation-server: utf8mb4_general_ci
|
|
mariadb_full_config: '{{ mariadb_default_config|combine(mariadb_config, recursive=True) }}'
|