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

Поиск
Список
Период
Сортировка
От Jérémy Garniaux
Тема Re: psql could not connect to server after complete reinstallation [Ubuntu 21.10 / PostgreSQL 13]
Дата
Msg-id 27fef402-88cd-b5cf-0c05-4556eea8d74f@mapper.fr
обсуждение исходный текст
Ответ на Re: psql could not connect to server after complete reinstallation [Ubuntu 21.10 / PostgreSQL 13]  (Adrian Klaver <adrian.klaver@aklaver.com>)
Ответы Re: psql could not connect to server after complete reinstallation [Ubuntu 21.10 / PostgreSQL 13]  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
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




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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Segmentation fault in volatile c function
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: psql could not connect to server after complete reinstallation [Ubuntu 21.10 / PostgreSQL 13]