Manual:Sql.php

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:Sql.php and the translation is 17% complete.

Other languages:
Deutsch • ‎English • ‎dansk • ‎español • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎العربية • ‎日本語

sql.php is a maintenance file which preforms SQL queries from a specific file to the database.

Available options for this script from the command line are:

--cluster
Allows a cluster name to be provided for the command.
--wikidb
Allows for a different database to be used in the command by ID if not the current database.
--slave
Use a slave server for the command (allows any or a specific name).