Manual:MySQL/en

The MySQL database engine is the most commonly-used database backends for MediaWiki. Since MySQL used to be the relational database management system used by the Wikimedia Foundation websites, it is well-supported in MediaWiki. Much of the advice for MySQL and for MariaDB apply to each other.

See Compatibility#Database for a list of supported versions.

Installation

 * Further information: 

Basically, if MySQL 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: