Re: pgadmin4 on Ubuntu

Поиск
Список
Период
Сортировка
От Yogesh Mahajan
Тема Re: pgadmin4 on Ubuntu
Дата
Msg-id CAMa=N=P14GdTr1DO78Wq+4WS79qg5=mKhT9DAbX9EQn4K==qxw@mail.gmail.com
обсуждение исходный текст
Ответ на pgadmin4 on Ubuntu  (Adriano Peluso <adriano.peluso@plusinnovation.it>)
Ответы Re: pgadmin4 on Ubuntu  (Adriano Peluso <adriano.peluso@plusinnovation.it>)
Список pgsql-admin
Hi,

Can you please try connecting postgres via psql? You might need to update the postgres setting mentioned over here.
Once you are able to connect with psql via terminal, you should be able to connect using pgAdmin too.

Thanks,
Yogesh Mahajan
EnterpriseDB


On Wed, Sep 21, 2022 at 11:05 AM Adriano Peluso <adriano.peluso@plusinnovation.it> wrote:
Hello,

I installed pgadmin4 on Ubuntu 22.04 through apt, following the instructions found here

I have a postgresql service running locally, installed with apt too

I'd like to connect pgadmin4 to the locally running postgres, possibly through a Unix socket

I have this
$ sudo ls -lha /var/run/postgresql/
totale 0
drwxrwsr-x  3 postgres postgres   60 set 21 07:08 .
drwxr-xr-x 42 root     root     1,2K set 21 07:08 ..
drwxr-s---  2 postgres postgres   40 set 21 07:08 14-main.pg_stat_tmp

I tried to create a connection in pgadmin4 but an error message reported: 

connection to server on socket
/var/run/postgresql/.s.PGSQL.5432

No such file or directory

Is the server running locally and accepting connections on that socket ?

Well, I don't know

I understand ths is more related to Ubuntu than it is to pgadmin4

Still I think it's appropriate to post here

Thanks for any hint

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

Предыдущее
От: Adriano Peluso
Дата:
Сообщение: pgadmin4 on Ubuntu
Следующее
От: Adriano Peluso
Дата:
Сообщение: Re: pgadmin4 on Ubuntu