This is the default example configuration of mariadb.cnf provided by MariaDB. This config file was generated by MariaDB running on Debian 8.
It is located under: /etc/mysql/conf.d/mariadb.cnf
# MariaDB-specific config file.
# Read by /etc/mysql/my.cnf
[client]
# Default is Latin1, if you need UTF-8 set this (also in server section)
#default-character-set = utf8
[mysqld]
#
# * Character sets
#
# Default is Latin1, if you need UTF-8 set all this (also in client section)
#
#character-set-server = utf8
#collation-server = utf8_general_ci
#character_set_server = utf8
#collation_server = utf8_general_ci
Download the raw file with wget or curl
wget -O mariadb.cnf.example http://exampleconfig.com/static/raw/mariadb/debian8/etc/mysql/conf.d/mariadb.cnf
curl http://exampleconfig.com/static/raw/mariadb/debian8/etc/mysql/conf.d/mariadb.cnf > mariadb.cnf.example
Other config files you might find useful