Manual:MySQL

The MySQL database engine is the most commonly-used database backend for MediaWiki. Since it is the relational database management system used by the Wikimedia Foundation wiki farm in its own websites, so it is well-supported in MediaWiki.

Installation

 * Further information: Manual:Installing_MediaWiki

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

Maintenance
Multiple maintenance scripts are included in the /maintenance/ 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: Manual:Importing XML dumps

Export database

 * Further information: Manual:Backing up a wiki