# cat /etc/my.cnf.d/server.cnf
#
# These groups are read by MariaDB server.
# Use it for options that only the server (but not clients) should see
#
# See the examples of server my.cnf files in /usr/share/mysql/
#
# this is read by the standalone daemon and embedded servers
[server]
# this is only for the mysqld standalone daemon
[mysqld]
max_allowed_packet = 16M
# this is only for embedded server
[embedded]
# This group is only read by MariaDB servers, not by MySQL.
# If you use the same .cnf file for MySQL and MariaDB,
# you can put MariaDB-only options here
[mariadb]
# This group is only read by MariaDB-10.0 servers.
# If you use the same .cnf file for MariaDB of different versions,
# use this group for options that older servers don't understand
[mariadb-10.0]
port = 3306
bind-address =
0.0.0.0# bin_log
#log_bin = /var/log/mariadb/mariadb-bin.log
#max_binlog_size= 500M
#expire_logs_days = 3
# error_log
#log_error = /var/log/mariadb/mariadb.err
#log_warnings = 1
# slow_log
##log_slow_queries = /var/log/mariadb/mariadb_slow.log
#long_query_time = 10
#log-queries-not-using-indexes
#log-slow-admin-statements
# request_log
#log = /var/log/mariadb/mariadb.log
# replication_log
##relay-log = /var/log/mysql/mysql-relay-bin.log