This is the default example configuration of mysql.cnf provided by MySQL. This config file was generated by MySQL running on Ubuntu 20.04.
It is located under: /etc/mysql/mysql.conf.d/mysql.cnf
#
# The MySQL database client configuration file
#
# Ref to https://dev.mysql.com/doc/refman/en/mysql-command-options.html
[mysql]
Download the raw file with wget or curl
wget -O mysql.cnf.example http://exampleconfig.com/static/raw/mysql/ubuntu20.04/etc/mysql/mysql.conf.d/mysql.cnf
curl http://exampleconfig.com/static/raw/mysql/ubuntu20.04/etc/mysql/mysql.conf.d/mysql.cnf > mysql.cnf.example
Other config files you might find useful