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