This is the default example configuration of server.cnf provided by MariaDB. This config file was generated by MariaDB running on CentOS 7.
It is located under: /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] # this is only for embedded server [embedded] # This group is only read by MariaDB-5.5 servers. # If you use the same .cnf file for MariaDB of different versions, # use this group for options that older servers don't understand [mysqld-5.5] # These two groups are 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] [mariadb-5.5]
Download the raw file with wget or curl
wget -O server.cnf.example http://exampleconfig.com/static/raw/mariadb/centos7/etc/my.cnf.d/server.cnf
curl http://exampleconfig.com/static/raw/mariadb/centos7/etc/my.cnf.d/server.cnf > server.cnf.example
Other config files you might find useful