Manual:$wgDBtype

From MediaWiki.org

Jump to: navigation, search
Database settings: $wgDBtype
Type of database.
Introduced in version: 1.3.0
Removed in version: still in use
Allowed Values: "mysql", "postgres", "sqlite"
Default Value: "mysql"

Other settings: Alphabetical | By Function


[edit] Details

Use:

  • "mysql" for MySQL
  • "postgres" for PostgreSQL (added in version 1.7)
  • "sqlite" for SQLite (added in version 1.13)

Note that 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..