Get the default configuration file mariadb.cnf for MariaDB, optimized for Debian GNU/Linux 8 (jessie). 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/conf.d/mariadb.cnf.
For more configurations and setup guides, visit our related files section to further customize your system.
# MariaDB-specific config file.
# Read by /etc/mysql/my.cnf
[client]
# Default is Latin1, if you need UTF-8 set this (also in server section)
#default-character-set = utf8
[mysqld]
#
# * Character sets
#
# Default is Latin1, if you need UTF-8 set all this (also in client section)
#
#character-set-server = utf8
#collation-server = utf8_general_ci
#character_set_server = utf8
#collation_server = utf8_general_ci
Download the raw file with wget or curl
wget -O mariadb.cnf.example https://exampleconfig.com/static/raw/mariadb/debian8/etc/mysql/conf.d/mariadb.cnf
curl https://exampleconfig.com/static/raw/mariadb/debian8/etc/mysql/conf.d/mariadb.cnf > mariadb.cnf.example
Other config files you might find useful