change socket to other then default in phpPgAdmin
        Posted  
        
            by 
                DanFromGermany
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by DanFromGermany
        
        
        
        Published on 2013-06-26T15:00:46Z
        Indexed on 
            2013/06/26
            16:22 UTC
        
        
        Read the original article
        Hit count: 250
        
postgresql
|phppgadmin
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/
        © Server Fault or respective owner