Jump to navigation Jump to search
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎magyar • ‎polski • ‎português do Brasil • ‎русский • ‎中文 • ‎日本語
Database settings: $wgDBtype
Type of database.
Introduced in version:1.3.0
Removed in version:still in use
Allowed values:"mssql", "mysql", "oracle", "postgres", "sqlite"
Default value:"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.