Re: Postgresql Login problem

Поиск
Список
Период
Сортировка
Искать
От
Julio Leyva
Тема
Re: Postgresql Login problem
Дата
Msg-id
BAY120-W110B4081370B9C7338AD79A1E70@phx.gbl
Список
Дерево обсуждения
Postgresql Login problem "Dr. Lal Bopearachchi" <lal@apiit.lk>
Re: Postgresql Login problem Tom Lane <tgl@sss.pgh.pa.us>

Check your pg_hba.conf file
if the method is password, then create a pasword for postgres user

psql yourdb
alter user postgres  set password = 'pasword'

if you don't want to do that, change pg_hba.conf file and modify the method to trust

then /etc/init.t/./postgresql reload

Hope this will help






Subject: [ADMIN] Postgresql Login problem
Date: Fri, 3 Aug 2007 12:54:10 +0600
From: lal@apiit.lk
To: pgsql-admin@postgresql.org

I am trying to use PostgreSQL ver. 8.1.4 that comes with Red Hat Enterprise Linux 5.

I cannot log into the postgres server as postgres, it gives the error message “password authentication failed for user “postgres”.

 

Is there a default password?

 

How can I start working with postgres?

 

Regards.

 

Lal Bopearatchy

В списке pgsql-admin по дате отправления
От: Kevin Grittner
Дата:
От: Ashish Karalkar
Дата:
Сообщение: Re: Postgresql Login problem
FAQ