Manual talk:$wgDBserver

From mediawiki.org
Latest comment: 10 months ago by 87.174.35.242

This post is interesting if you need to connect to mysql on a non-standard port: http://microrants.blogspot.nl/2007/08/specifying-mysql-port-on-mediawiki.html - unfortunately it does not seem to work on all machines. Guaka (talk) 01:52, 31 December 2013 (UTC)Reply

Here's why: https://bugzilla.wikimedia.org/show_bug.cgi?id=58153 - hopefully there will be a patch soon :) Guaka (talk) 01:59, 31 December 2013 (UTC)Reply
This issue has been fixed in MediaWiki 1.22.6 and later. However, it is still not possible to use a port together with the host "localhost". Reason is that the host name "localhost" uses the socket, ignoring the specified port number. --88.130.82.244 12:35, 1 June 2014 (UTC)Reply
That makes no sense. Unless it's a bug. A socket still uses a port and it should use the one specified. 87.174.35.242 11:50, 3 May 2023 (UTC)Reply