Manual:$wgDBtype/zh

From Linux Web Expert

<translate> Database settings</translate>: $wgDBtype
数据库的类型。
<translate> Introduced in version:</translate>1.3.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>"mssql", "mysql", "oracle", "postgres", "sqlite"
<translate> Default value:</translate>'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 <translate> (introduced in <tvar
  • 'sqlite' - SQLite <translate> (introduced in <tvar
  • 'mssql' - MS-SQL <translate> (removed in <tvar name=2>1.34</tvar>)</translate>
  • 'oracle' - Oracle <translate> (introduced in <tvar <translate> (removed in <tvar name=2>1.34</tvar>)</translate>
在旧版本中可能使用"pgsql"或 "PostgreSQL"而不是"postgres"。 The documentation was updated to use "postgres" in 1.8.0, but the switch may have been made earlier.