Manual:RenameDbPrefix.php/de

MediaWiki Version:
1.13
Category:MediaWiki code/de#RenameDbPrefix.php

Details

renameDbPrefix.php file is a maintenance script to change the prefix of database tables.

Run this script after changing $wgDBprefix on a wiki. The wiki will have to get downtime to do this correctly.

Argumente

OptionDescriptionRequired
--oldOld db prefix; 0 for noneNotwendig
--newNew db prefix; 0 for noneNotwendig

Verwendung

php maintenance/run.php renameDbPrefix --old oldDBprefix --new newDBprefix
Terminal
In MediaWiki version 1.39.13 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

Häufiger Fehler

Invalid prefix!

This error occurs when either the --old or --new value is incorrect.

Siehe auch

Category:Maintenance scripts/de#renameDbPrefix.php Category:Database maintenance scripts/de
Category:Database maintenance scripts/de Category:Maintenance scripts/de Category:MediaWiki code/de