Re: BUG #16086: Cannot connect using psql, however I can connect using pgadmin

Поиск
Список
Период
Сортировка
От Sergei Kornilov
Тема Re: BUG #16086: Cannot connect using psql, however I can connect using pgadmin
Дата
Msg-id 37198181572347679@iva4-0814df7d67c8.qloud-c.yandex.net
обсуждение исходный текст
Ответ на BUG #16086: Cannot connect using psql, however I can connect using pgadmin  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
Hello

> SAST [98628] LOG: listening on Unix socket
> "/u01/postgresql/.s.PGSQL.5437"
> Oct 29 10:59:59 zardplpsmasdev01 postmaster[98628]: 2019-10-29 10:59:59.505
> SAST [98628] LOG: listening on Unix socket "/tmp/.s.PGSQL.5437"

Seems you have modified unix_socket_directories setting. Your psql tries another path (also was changed from /tmp to
/var/run/postgresql/during compilation).
 

So this is not bug, just misconfiguration. Possible you want add /var/run/postgresql/ to unix_socket_directories

regards, Sergei



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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #16086: Cannot connect using psql, however I can connect using pgadmin
Следующее
От: Ashutosh Sharma
Дата:
Сообщение: Re: BUG #16084: Server couldn't be contacted