From: | Rahul Saha <rahul(dot)blooming(at)gmail(dot)com> |
---|---|
To: | Murali Paramu <ipmurali(at)gmail(dot)com> |
Cc: | "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: could not connect via psql to 9.4 version |
Date: | 2020-02-13 16:31:28 |
Message-ID: | CAEQ0CJgxVtmQGrZW8_=eTvWeCxwUu83sDFD=hYOtsMi5g91x5Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)gmail(dot)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 5432psql: 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
From | Date | Subject | |
---|---|---|---|
Next Message | soumik.bhattacharjee | 2020-02-13 16:42:45 | Open Source PostgreSQL : GUI Monitoring tool : Windows - User Guide |
Previous Message | Murali Paramu | 2020-02-13 16:22:52 | could not connect via psql to 9.4 version |