Re: could not connect via psql to 9.4 version

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: could not connect via psql to 9.4 version
Дата
Msg-id CAKFQuwYULYkDf9C7XnUiRrJSfKyqyUupUrf4mgFsW29GYymUfg@mail.gmail.com
обсуждение исходный текст
Ответ на could not connect via psql to 9.4 version  (Murali Paramu <ipmurali@gmail.com>)
Список pgsql-admin
On Thu, Feb 13, 2020 at 9:23 AM 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"?



So what is the configuration in pgAdmin for its connection to the 9.4 server?  You need to make your psql invocation match.

David J.

В списке pgsql-admin по дате отправления:

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