This is the default example configuration of my.cnf provided by MariaDB. This config file was generated by MariaDB running on CentOS 7.
It is located under: /etc/my.cnf
# Disabling symbolic-links is recommended to prevent assorted security risks
# 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
# include all files from the config directory
Download the raw file with wget or curl
wget -O my.cnf.example http://exampleconfig.com/static/raw/mariadb/centos7/etc/my.cnf
curl http://exampleconfig.com/static/raw/mariadb/centos7/etc/my.cnf > my.cnf.example
Other config files you might find useful