Manual:$wgDBtype

From MediaWiki.org
(Redirected from $wgDBtype)
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..

Language: English  • Français • 日本語 • Polski • Русский
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox