This is the default example configuration of mysql provided by MariaDB. This config file was generated by MariaDB running on Ubuntu 20.04.
It is located under: /etc/default/mysql
# # NOTE: This file is read only by the traditional SysV init script and has been # available only in Ubuntu 16.04 and 16.10 and never in a official Debian release. # Debian 9 and Ubuntu 17.04 onwards do not normally read this file as they use # systemd by default. # # For similar behaviour, systemd users should override ExecStart by dropping # files into /etc/systemd/system/mariadb.service.d/ # # See also: # https://wiki.debian.org/Teams/pkg-systemd/Packaging#overriding_options_and_.2Fetc.2Fdefault_handling # https://mariadb.com/kb/en/mariadb/systemd/ # # Note also that MariaDB systemd does _not_ utilize mysqld_safe nor debian-start. # The delay in seconds the init script waits for the server to be up and running after having started "mysqld_safe" to run the "/etc/mysql/debian-start" script. # If the server is still not responding after the delay, the script won't be executed and an error will be thrown on the syslog. # Default: 30 #MYSQLD_STARTUP_TIMEOUT=30 # The email recipient(s) of the output of the check for crashed and improperly closed MyISAM and Aria tables done at each server start by the "/etc/mysql/debian-start" script. # Default: root #MYCHECK_RCPT="root"
Download the raw file with wget or curl
wget -O mysql.example http://exampleconfig.com/static/raw/mariadb/ubuntu20.04/etc/default/mysql
curl http://exampleconfig.com/static/raw/mariadb/ubuntu20.04/etc/default/mysql > mysql.example
Other config files you might find useful