Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgDBtype and the translation is 0% complete.
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎magyar • ‎polski • ‎português do Brasil • ‎русский • ‎中文 • ‎日本語
Database settings: $wgDBtype
Type of database.
Появилось, начиная с версии:1.3.0
Удалено в версии:все еще используется
Допустимые значения:"mssql", "mysql", "oracle", "postgres", "sqlite"
Значение по умолчанию:"mysql"


Type of database.

  • "mssql" - MS-SQL
  • "mysql" - MySQL or MariaDB (Will default to the newer MySQLi driver if enabled on the server. Otherwise, falls back to the legacy MySQL driver.)
  • "oracle" - Oracle (added in version 1.5)
  • "postgres" - PostgreSQL (added in version 1.7)
  • "sqlite" - SQLite (added in version 1.13)
Older versions may have used "pgsql" or "PostgreSQL" instead of "postgres". The documentation was updated to use "postgres" in 1.8.0, but the switch may have been made earlier.