Here is one of the servers conf (the others have similar ones with mainly different buffer_pool_size, key_buffer_size, table_cache and max_connections) :
And in the conf.d dir :
/etc/mysql/conf.d/mariadb.cnf:[client]
/etc/mysql/conf.d/mariadb.cnf:[mysqld]
/etc/mysql/conf.d/mysqld_safe_syslog.cnf:[mysqld_safe]
/etc/mysql/conf.d/mysqld_safe_syslog.cnf:syslog
Here is one of the servers conf (the others have similar ones with mainly different buffer_pool_size, key_buffer_size, table_cache and max_connections) :
[client] mysqld/ mysqld. sock mysqld/ mysqld. sock mysqld/ mysqld. pid mysqld/ mysqld. sock locking n_cache = 16384 strip_comments = 1 mysql/error. log block_size = 16384 sort_buffer_ size = 4M buffer_ size = 1M storage_ engine = InnoDB buffer_ pool_size = 1280M log_file_ size = 32M flush_log_ at_trx_ commit = 2 log_buffer_ size = 4M file_per_ table = 1 mysql/mysql- slow.log
port = 3306
socket = /var/run/
[mysqld_safe]
socket = /var/run/
nice = 0
[mysqld]
user = mysql
pid-file = /var/run/
socket = /var/run/
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmpfs
skip-external-
key_buffer = 512M
max_allowed_packet = 64M
thread_cache_size = 12
myisam-recover = BACKUP
max_connections = 150
table_cache = 16384
table_definitio
query_cache_limit = 1M
query_cache_size = 128M
query_cache_
local-infile = 0
open_files_limit = 131072
skip-name-resolve
max_delayed_threads = 1
wait_timeout = 60
interactive_timeout = 60
log_error = /var/log/
join_buffer_size = 1M
read_buffer_size = 256K
tmp_table_size = 32M
max_heap_table_size = 32M
max_connect_errors = 1000
query_prealloc_size = 131072
query_alloc_
myisam_
concurrent_insert = 2
read_rnd_
default_
innodb_
innodb_
innodb_
innodb_
innodb_
innodb_open_files = 400
innodb_file_format = barracuda
key_cache_segments = 8 (wasnt there before i tried to set the value)
log_slow_queries = /var/log/
long_query_time = 2
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
[mysql]
[isamchk]
key_buffer = 16M
!includedir /etc/mysql/conf.d/
And in the conf.d dir : conf.d/ mariadb. cnf:[client] conf.d/ mariadb. cnf:[mysqld] conf.d/ mysqld_ safe_syslog. cnf:[mysqld_ safe] conf.d/ mysqld_ safe_syslog. cnf:syslog
/etc/mysql/
/etc/mysql/
/etc/mysql/
/etc/mysql/