Re: can't create a local server - Mailing list pgsql-novice

From msm.scaglione@libero.it
Subject Re: can't create a local server
Date
Msg-id 1252731420.86225.1591791259140@mail1.libero.it
Whole thread Raw
In response to Re: can't create a local server  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: can't create a local server  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-novice
I looked for postgres.conf but Dolphin couldn't find it

in pg admin 

create  --> server --> 
 name   Locale
 connection   
             host  localhost
             port   5432
             database  postgres
             username  postgres
              



> Il 10 giugno 2020 alle 8.43 Laurenz Albe <laurenz.albe@cybertec.at> ha scritto:
> 
> 
> On Tue, 2020-06-09 at 19:03 +0200, msm.scaglione@libero.it wrote:
> > This is my first to the list.
> > 
> > Using pgadmin4 I can't create a local server "timeot expired"
> > from debian buster terminal ask me to verify I'm allowed to connect to the unix domain socket
/var/run/postgresql/.s.PGSQL.5432
> > 
> > 
> > su
> > 
> > Password:
> > 
> > root@mycomputer:/home/me# su - postgres
> > 
> > postgres@mycomputer:~$ psql
> > 
> > psql: error: could not connect to server:
> > 
> > File o directory non esistente Verifica che il server locale sia in funzione e che accetti connessioni sul socket
didominio Unix "/var/run/postgresql/.s.PGSQL.5432"
 
> > 
> > 
> > 
> > I solved this problem with postgresql10 modifying a .conf file but file and directory names changed in postgresql
12
> > 
> > Can you help me?
> 
> First, verify that the server is running and listening:
> 
> - are there PostgreSQL processes?
> 
> - What is "port" and "unix_socket_directories" in "postgresql.conf"?
> 
> Then it would be interesting to know what exactly you entered in pgAdmin
> to specify the connection.
> 
> Yours,
> Laurenz Albe
> -- 
> Cybertec | https://www.cybertec-postgresql.com
> 
> 
>



pgsql-novice by date:

Previous
From: "Greg Rychlewski (LCL)"
Date:
Subject: Monitoring Autovacuum Progress
Next
From: Laurenz Albe
Date:
Subject: Re: can't create a local server