Retrieve postgres password

Поиск
Список
Период
Сортировка
От ray madigans.org
Тема Retrieve postgres password
Дата
Msg-id 1181547181.26300.1441237404104.JavaMail.vpopmail@atl4oxapp105.mgt.hosting.qts.netsol.com
обсуждение исходный текст
Ответы Re: Retrieve postgres password
Список pgsql-general
I have lost/forgotten the postgres password for my installation so I did the following.I edited pg_hba.conf and
added anentry: local all all trustrestarted postgresql. loged in as postgres (psql template1 -U postgres) change
thepostgres password withALTER ROLE postgres PASSWORD fooI edited pg_hba.conf and get rid of the
added linerestartedpostgreswhen I attempted to reenter with  psql template1 -U postgres --passwordI get an
errorPeer authentication failed for user "postgres"Not sure what I did wrong, any help would be
appreciated. 

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

Предыдущее
От: Rob Sargent
Дата:
Сообщение: Re: get first and last row in one sql as two columns
Следующее
От: Melvin Davidson
Дата:
Сообщение: Re: get first and last row in one sql as two columns