Thread:Talk:MediaWiki/Why must the 1.22.0 access the mysql through the /var/lib/mysql/mysql.sock?/reply

Maybe related to switching from using mysql to mysqli for db access.

If you currently have $wgDBServer set to localhost, changing it to be 127.0.0.1 can force php to use the network instead of a local sock.