[Pgpool-general] How to configure pgpool for pool conexions..

Alan Hodgson ahodgson at simkin.ca
Thu Oct 6 21:52:18 UTC 2011


On October 6, 2011 02:44:34 PM Matias Israel Malpica Escobar wrote:
> Another question for you guys...
> 
> I have succesfully installed and configure pgpool, if i go to pgadmin
> and connect to port 9999 of my server i can see the databases and
> everything... but when i try to run the following i get this error:
> 
> [root at etc]# psql -d test -U testuser -p 9999
> psql: could not connect to server: Connection refused
>         Is the server running locally and accepting
>         connections on Unix domain socket "/tmp/.s.PGSQL.9999"?
> [root@ etc]#

What is socket_dir set to in pgpool.conf? If it isn't /tmp, then psql will 
need a hint how to find the unix domain socket to talk to.


More information about the Pgpool-general mailing list