How to recover or resent the password for the user 'postgres'

Поиск
Список
Период
Сортировка
От Arup Rakshit
Тема How to recover or resent the password for the user 'postgres'
Дата
Msg-id 28447293.674468.1427702964877.JavaMail.yahoo@mail.yahoo.com
обсуждение исходный текст
Ответы Re: How to recover or resent the password for the user 'postgres'  (Michael Paquier <michael.paquier@gmail.com>)
Re: How to recover or resent the password for the user 'postgres'  (John McKown <john.archie.mckown@gmail.com>)
Re: How to recover or resent the password for the user 'postgres'  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
Hi,

I am trying to follow what has been mentioned below **Setting Up Postgres**
(https://www.digitalocean.com/community/tutorials/how-to-setup-ruby-on-rails-with-postgres).

But no luck!

[shreyas@myapp(add_postgres_addapter)]$ su - postgres
Password:
su: Sorry
[shreyas@myapp (add_postgres_addapter)]$

It is asking me the password, whereas I don't know the password of the user `postgres`. How would I create a new role
witha password in this case ? 

I am using OS X version 10.8.2
 Regards,
Arup Rakshit


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

Предыдущее
От: Bankim Bhavsar
Дата:
Сообщение: Re: Index corruption
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: How to recover or resent the password for the user 'postgres'