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@xxxxxxxxx> wrote:
Hello Team,I have two versions of PostgreSQL 9.4 and 12.1both servers can be connected through pgAdmin.But through psql I can connect only to 12.1when 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