Manual:$wgDBtype

This page is a translated version of the page Manual:$wgDBtype and the translation is 100% complete.
データベースの設定: $wgDBtype
データベースの種類。
導入されたバージョン:1.3.0
除去されたバージョン:使用中
許容される値:"mssql", "mysql", "oracle", "postgres", "sqlite"
既定値:'mysql'

詳細

データベースの種類です。

  • 'mysql' - MySQL or MariaDB (Will default to the newer MySQLi driver if enabled on the server. Otherwise, falls back to the legacy MySQL driver.)
  • 'postgres' - PostgreSQL (1.7 で導入)
  • 'sqlite' - SQLite (1.13 で導入)
  • 'mssql' - MS-SQL (1.34 で除去)
  • 'oracle' - Oracle (1.5 で導入) (1.34 で除去)
古いバージョンでは、"postgres" ではなく "pgsql" や "PostgreSQL" を使用していた可能性があります。 説明文書は、1.8.0 の更新から "postgres" を使用するようになりましたが、仕様はもっと前のバージョンで変更された可能性があります。