Search Postgresql Archives

Re: psql could not connect to server after complete reinstallation [Ubuntu 21.10 / PostgreSQL 13]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adrian,

Le 27/10/2021 à 19:30, Adrian Klaver a écrit :

Your Postgres 13 cluster is up and listening on 5433.

Your choices:

1) Connect using psql -d <some_db> -U <some_user> -p 5433


2) Open:

sudo vi /etc/postgresql/13/main/postgresql.conf

and change

port = 5433

to

port = 5432

and then restart server.


While you are at it:

sudo pg_dropcluster 12 main

to get rid of the orphaned cluster.

Great, thanks for your help. Everything is back in order now.

I found out about Pg clusters in the process!

Best regards,

Jeremy






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux