Get the default configuration file debian.cnf for MariaDB, optimized for Debian GNU/Linux 10 (buster). This example configuration ensures optimal compatibility and performance for MariaDB, making it easy to set up and adjust to meet your needs.
Find and download the configuration file here: /etc/mysql/debian.cnf.
For more configurations and setup guides, visit our related files section to further customize your system.
# 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 https://exampleconfig.com/static/raw/mariadb/debian10/etc/mysql/debian.cnf
curl https://exampleconfig.com/static/raw/mariadb/debian10/etc/mysql/debian.cnf > debian.cnf.example
Other config files you might find useful