pgadmin4 on Ubuntu

From: Adriano Peluso <adriano(dot)peluso(at)plusinnovation(dot)it>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: pgadmin4 on Ubuntu
Date: 2022-09-21 05:34:50
Message-ID: CAGit_Xwqv8CsQhrSFxsQWhSTqfO9w8vZL1pMV4Cny54Y3_M2SQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,

I installed pgadmin4 on Ubuntu 22.04 through apt, following the
instructions found here
https://www.pgadmin.org/download/pgadmin-4-apt/

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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Yogesh Mahajan 2022-09-21 05:50:48 Re: pgadmin4 on Ubuntu
Previous Message Ron 2022-09-20 22:17:01 Re: Weird issue - schemas missing - on Windows 10 PostgreSQL 14 & 9.6