File: //etc/mysql/mariadb.conf.d/50-server.cnf
[server]
[mariadbd]
pid-file = /run/mysqld/mysqld.pid
basedir = /usr
bind-address = 127.0.0.1
max_connections = 800
thread_stack = 192K
thread_cache_size = 16
key_buffer_size = 256M
max_allowed_packet = 64M
innodb_buffer_pool_size = 15G
table_open_cache = 400
query_cache_limit = 2M
query_cache_size = 256M
log_error = /var/log/mysql/error.log
slow_query_log = 1
slow_query_log_file = /var/log/mysql/mariadb-slow.log
long_query_time = 1
expire_logs_days = 3
character-set-server = utf8mb4
collation-server = utf8mb4_general_ci
innodb_buffer_pool_size = 15G
innodb_log_file_size = 1G
innodb_log_buffer_size = 256M
innodb_thread_concurrency = 16
[embedded]
[mariadb-11.2]