This is the default example configuration of debian.cnf provided by MariaDB. This config file was generated by MariaDB running on Debian 8.
It is located under: /etc/mysql/debian.cnf
# Automatically generated for Debian scripts. DO NOT TOUCH! [client] host = localhost user = debian-sys-maint password = WWF7sKgVVt5IQZDQ socket = /var/run/mysqld/mysqld.sock [mysql_upgrade] host = localhost user = debian-sys-maint password = WWF7sKgVVt5IQZDQ 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/debian8/etc/mysql/debian.cnf
curl http://exampleconfig.com/static/raw/mariadb/debian8/etc/mysql/debian.cnf > debian.cnf.example
Other config files you might find useful