Re: could not connect via psql to 9.4 version

Поиск
Список
Период
Сортировка
От Rahul Saha
Тема Re: could not connect via psql to 9.4 version
Дата
Msg-id CAEQ0CJgxVtmQGrZW8_=eTvWeCxwUu83sDFD=hYOtsMi5g91x5Q@mail.gmail.com
обсуждение исходный текст
Ответ на could not connect via psql to 9.4 version  (Murali Paramu <ipmurali@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Murali Paramu
Дата:
Сообщение: could not connect via psql to 9.4 version
Следующее
От:
Дата:
Сообщение: Open Source PostgreSQL : GUI Monitoring tool : Windows - User Guide