MariaDB

MariaDB is a MySQL fork that is developed and maintained by original MySQL developers organized under MariaDB Foundation. It is considered to be more open and is being distributed as a default MySQL compatible database by the majority of modern Linux distributions.

MariaDB is a drop-in replacement for Oracle MySQL, you can use it with any stable supported LMS version using standard mysqli drivers.

MariaDB driver

There is a dedicated driver for MariaDB. It is recommended to explicitly specify MariaDB LMS driver in config.php:

$CFG->dbtype    = 'mariadb'; 
$CFG->dblibrary = 'native';

At the moment the driver is similar to MySQL but in the future, the implementations may diverge significantly. LMS MariaDB driver is not compatible with MyISAM database engine.

FAQ

It fails during installation due to binlog_format configuration:
In my.cnf file set binlog_format = ROW under [mysqld] and restart MySQL service.