This is the default example configuration of debian.cnf provided by MySQL. This config file was generated by MySQL 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 = Xl4zI8HgEGlTKeXM socket = /var/run/mysqld/mysqld.sock [mysql_upgrade] host = localhost user = debian-sys-maint password = Xl4zI8HgEGlTKeXM 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/mysql/ubuntu14.04/etc/mysql/debian.cnf
curl http://exampleconfig.com/static/raw/mysql/ubuntu14.04/etc/mysql/debian.cnf > debian.cnf.example
Other config files you might find useful