[mysqld]
#bind-address = ::
#bind-address = 127.0.0.1
skip_name_resolve
local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
max_connections = 600
table_open_cache = 600
table_definition_cache = 600
innodb_buffer_pool_size = 500M
query_cache_type = 1
query_cache_limit = 32M
query_cache_size = 1GB
query_cache_min_res_unit = 4KB
max_heap_table_size = 500M
tmp_table_size = 500M
thread_cache_size = 500
interactive_timeout = 300
wait_timeout = 300
max_allowed_packet = 32M
log_slow_queries=/var/log/mariadb/log-slow-queries.log
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mariadb according to the
# instructions in http://fedoraproject.org/wiki/Systemd
[mysqld_safe]
log-error=/var/log/mariadb/mariadb.log
pid-file=/var/run/mariadb/mariadb.pid
#
# include all files from the config directory
#
!includedir /etc/my.cnf.d