Note: You are currently viewing documentation for Moodle 3.3. Up-to-date documentation for the latest stable version of Moodle is probably available here: MariaDB.

Difference between revisions of "MariaDB"

From MoodleDocs
Line 1: Line 1:
MariaDB is a MySQL fork that is developed and maintained by original MySQL developers. It is considered to be more open and is being distributed as default MySQL compatible database by majority of modern linux distributions.
+
MariaDB is a MySQL fork that is developed and maintained by original MySQL developers organised under . It is considered to be more open and is being distributed as default MySQL compatible database by majority of modern linux distributions.
  
MariaDB is a drop-in replacement, you can use it with any stable supported Moodle version using standard mysqli drivers. Since Moodle 2.6 there is a dedicated driver for MariaDB.
+
MariaDB is a drop-in replacement, you can use it with any stable supported Moodle version using standard mysqli drivers.
 +
 
 +
==MariaDB driver==
 +
 
 +
Since Moodle 2.6 there is a dedicated driver for MariaDB. It is recommended to explicitly specify mariadb Moodle driver in config.php:
 +
 
 +
<code php>
 +
$CFG->dbtype    = 'masriadb';
 +
$CFG->dblibrary = 'native';
 +
</code>
  
 
See [[MySQL]] for more information, the setup procedure is nearly identical.
 
See [[MySQL]] for more information, the setup procedure is nearly identical.

Revision as of 19:38, 25 October 2013

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

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

MariaDB driver

Since Moodle 2.6 there is a dedicated driver for MariaDB. It is recommended to explicitly specify mariadb Moodle driver in config.php:

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

See MySQL for more information, the setup procedure is nearly identical.