Manual:$wgDBname

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Manual:$wgDBname and the translation is 45% complete.

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎فارسی • ‎suomi • ‎français • ‎magyar • ‎italiano • ‎日本語 • ‎Nederlands • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文
Database settings: $wgDBname
データベースの名前。
導入されたバージョン: pre 1.1.0
除去されたバージョン: 使用中
可能な値: 文字列
既定値: 'wikidb'
他の設定: アルファベット順 | 機能順

詳細

Name of the database used by current installation of MediaWiki.

警告! 警告:
  • Do not change $wgDBname after Setup.php has been included. Note: Setup.php initializes various paths, includes some common files, starts sessions, and performs various other setup tasks for a request. It is not related to the installation or setup of MediaWiki.
  • Only files in includes/db/ should use $wgDBname, everything else should use the getDBname() method provided by the DatabaseBase class.

関連項目