change socket to other then default in phpPgAdmin
- by DanFromGermany
I need to change the socket phpPgAdmin connects to in its config.
// Hostname or IP address for server. Use '' for UNIX domain socket.
// use 'localhost' for TCP/IP connection on this computer
$conf['servers'][0]['host'] = '/opt/jasperreports-server-cp-5.1.0/postgresql/.s.PGSQL.5432';
this does not work (even without the last part .s.PGSQL.5432). The path is correct, because I can connect through:
:~# psql --host=/opt/jasperreports-server-cp-5.1.0/postgresql/