The Debian packages available from are not identical to the official Debian packages available from Debian's own repositories. The packages are generated using the Debian packaging in the main tree debian/ directory: The Debian packages in official Debian (and Ubuntu) however are generated from

MariaDB when installed from the Debian repos has a number of differences with standard MariaDB.

Configuration file locations

The file /etc/mysql/my.cnf is handled by the mysql-common update-alternatives mechanism and points to mysql.cnf or mariadb.cnf depending on which one is installed. Most of the MariaDB config files are therefore actually in /etc/mysql/mariadb.d/*.cnf

System variables

VariableMariaDB in DebianStandard MariaDBNotes
character_set_serverutf8mb4latin1Debian sets a default character set that can support emojis etc.


OptionMariaDB in DebianStandard MariaDBNotes enables the UNIX_SOCKET Authentication Plugin plugin by default, allowing passwordless login.

See also

More information

For details, check out the Debian and Ubuntu official repositories:


Comments loading...