Manual:$wgDBserver/pt-br

Detalhes
Nome do host do banco de dados ou endereço IP. Esta variável é encontrada no arquivo LocalSettings.php.

If you are using MySQL on a non-standard port, you can use the "hostname:port" syntax, for example. Note that using a port number when you specify  as the host name will have no effect, as MySQL will connect through a socket instead. If the MySQL server is on the same server and you want to connect through a socket in a non-standard location, you can use the "localhost:socket" location, for example. Currently it's not possible to specify a custom location when connecting through socket when PHP is using the new MySQLi extensions.

will be faster than

$wgDBport serve apenas para a configuração do PostgreSQL.

Ver também

 * $wgDBservers: para configurações de vários servidores (master/slave)

Ligações externas

 * Referência Cruzada de Variável - $wgDBserver