Manual:Update.php

checks if the MediaWiki database schema need to be updated in order to work with the current version of MediaWiki. You should run  after each update of MediaWiki or after the update of an extension that requires a schema update (such as CheckUser).

may exit with errors, leaving the database in an inconsistent state. Always backup the database before running the script!

If you can't (or don't wish to) run  from the command line, you can use MediaWiki's configuration script to force   to be run from a web browser. To do this:
 * 1) rename your LocalSettings.php file
 * 2) run the configuration script with the same settings as were used during the initial install, and then
 * 3) replace the newly created LocalSettings.php file with the old copy of the file that was renamed in step 1.

Options

 * --aconf: provide configuration settings on the commandline
 * --quick: skip countdown sequence
 * --nopurge: do not purge objectcache table. Normally update.php purges the objectcache table in the database (generally contains the parser cache and the messages cache), if you don't want to purge this table, use the --nopurge option.