What $wgDBserver and $wgDBport settings I should use with postgres socket?
What I tried: $wgDBtype = "postgres"; $wgDBserver = "localhost"; $wgDBname = "dbname"; $wgDBuser = "dbuser"; $wgDBpassword = "password"; $wgDBport = "5434"; # Yes I run postgres in /var/run/postgresql/.s.PGSQL.5434 $wgDBmwschema = "mediawiki";
I tried also empty $wgDBserver and $wgDBserver = "localhost:/var/run/postgresql/"; and $wgDBserver = "localhost:/var/run/postgresql/.s.PGSQL.5434" with commented $wgDBport, as well as $wgDBserver = "/var/run/postgresql/"; and $wgDBserver = "/var/run/postgresql/.s.PGSQL.5434";
Mediawiki works OK with port, but I want mediawiki to use socket. Since all other applications use it without any problems.