This is the default example configuration of debian.cnf provided by MariaDB. This config file was generated by MariaDB running on Ubuntu 14.04.
It is located under: /etc/mysql/debian.cnf
# Automatically generated for Debian scripts. DO NOT TOUCH!
[client]
host = localhost
user = debian-sys-maint
password = gNS9RGPcwKQxEfzo
socket = /var/run/mysqld/mysqld.sock
[mysql_upgrade]
host = localhost
user = debian-sys-maint
password = gNS9RGPcwKQxEfzo
socket = /var/run/mysqld/mysqld.sock
basedir = /usr
Download the raw file with wget or curl
wget -O debian.cnf.example http://exampleconfig.com/static/raw/mariadb/ubuntu14.04/etc/mysql/debian.cnf
curl http://exampleconfig.com/static/raw/mariadb/ubuntu14.04/etc/mysql/debian.cnf > debian.cnf.example
Other config files you might find useful