This page is a translated version of the page Manual:$wgAlternateMaster and the translation is 0% complete.
Other languages:
English • ‎Türkçe • ‎français • ‎magyar • ‎polski • ‎日本語
Paramètre du partage de charge: $wgAlternateMaster
A map of database name to connection index.
Introduit dans la version :1.10.0
Retiré dans la version :1.13.0
Valeurs autorisées :(array)
Valeur par défaut :array()


A map of database name (key) to connection index (value), describing the master database server for each database. The connection index is an index into the $wgDBservers array. If a database is not listed here, the default load balancing settings will be used.

To use this feature in 1.13 and above, you have to customize $wgLBFactoryConf and use LBFactory_Multi as class.