Manual:MySQL/en

The MySQL and MariaDB database engines are the most commonly-used database backends for MediaWiki. Since MariaDB is the relational database management system used by the Wikimedia Foundation websites, it is well-supported in MediaWiki.

See Compatibility for a list of supported versions.

Installation

 * Further information: 

Basically, if MySQL or MariaDB is installed, the installation script can create a database for you. Just supply the script with your mysql root password (by default blank).

Maintenance
Multiple maintenance scripts are included in the  directory of your MediaWiki installation. Some of these scripts are provided to refresh parts of the database as one-time operations.

Import database

 * Further information: 

Export database

 * Further information: