From: Jérémy Garniaux <jeremy@mapper.fr>
To: Adrian Klaver <adrian.klaver@aklaver.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: psql could not connect to server after complete reinstallation [Ubuntu 21.10 / PostgreSQL 13]
Date: Wed, 27 Oct 2021 21:51:19 +0200
Message-ID: <27fef402-88cd-b5cf-0c05-4556eea8d74f@mapper.fr> (raw)
In-Reply-To: <1f138d29-de52-a680-d8a1-27fc66bae52c@aklaver.com>
References: <9e818078-3773-ba04-2ee8-eb7d1ef79439@mapper.fr>
<f1e3dd27-7670-7bfb-f616-2cf4bb39d979@aklaver.com>
<90ebbc17-a029-7340-2272-f37363dd5651@mapper.fr>
<1f138d29-de52-a680-d8a1-27fc66bae52c@aklaver.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: jeremy@mapper.fr, adrian.klaver@aklaver.com
Subject: Re: psql could not connect to server after complete reinstallation [Ubuntu 21.10 / PostgreSQL 13]
In-Reply-To: <27fef402-88cd-b5cf-0c05-4556eea8d74f@mapper.fr>
References: <9e818078-3773-ba04-2ee8-eb7d1ef79439@mapper.fr> <f1e3dd27-7670-7bfb-f616-2cf4bb39d979@aklaver.com> <90ebbc17-a029-7340-2272-f37363dd5651@mapper.fr> <1f138d29-de52-a680-d8a1-27fc66bae52c@aklaver.com> <27fef402-88cd-b5cf-0c05-4556eea8d74f@mapper.fr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox