Re: could not connect via psql to 9.4 version - Mailing list pgsql-admin

From Rahul Saha
Subject Re: could not connect via psql to 9.4 version
Date
Msg-id CAEQ0CJgxVtmQGrZW8_=eTvWeCxwUu83sDFD=hYOtsMi5g91x5Q@mail.gmail.com
Whole thread Raw
In response to could not connect via psql to 9.4 version  (Murali Paramu <ipmurali@gmail.com>)
List pgsql-admin
Hi Murali,

Is the 9,4 instance up and running? Check ps -ef|grep -i postgres | grep 5432

Check few other settings if not connecting locally like 
#listen_addresses = 'localhost'(making to *) or pg_hba.conf settings.

On Thu, Feb 13, 2020 at 9:53 PM Murali Paramu <ipmurali@gmail.com> wrote:
Hello Team,
I have two versions of PostgreSQL 9.4 and 12.1
both servers can be connected through pgAdmin.
But through psql I can connect only to 12.1

when i connect to 9.4 got below error:
$ psql -U postgres -p 5432
psql: error: could not connect to server: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?


--
~~~~~~~~~~~~~
സ്നേഹാദരങ്ങളോടെ
ഐ.പി.മുരളി
thanks & regards,
i.p.murali



--
Thanks & Regards
Rahul Saha

+91 8806351116

pgsql-admin by date:

Previous
From: Murali Paramu
Date:
Subject: could not connect via psql to 9.4 version
Next
From:
Date:
Subject: Open Source PostgreSQL : GUI Monitoring tool : Windows - User Guide