Manual:renameDbPrefix.php

This page is a translated version of the page Manual:RenameDbPrefix.php and the translation is 88% complete.
MediaWiki バージョン:
1.13

詳細

renameDbPrefix.phpファイルは、メンテナンス スクリプトで、データベースの接頭辞テーブルを変更するためのものです。

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

引数

Option Description Required
--old Old db prefix; 0 for none 必須
--new New db prefix; 0 for none 必須

使用法

php maintenance/renameDbPrefix.php --old oldDBprefix --new newDBprefix
Terminal

よくあるエラー

Invalid prefix!

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

関連項目