Re: Logging in with postgres remotely

Поиск
Список
Период
Сортировка
От Newbie Poster
Тема Re: Logging in with postgres remotely
Дата
Msg-id 213541.11913.qm@web43403.mail.sp1.yahoo.com
обсуждение исходный текст
Ответ на Logging in with postgres remotely  (Newbie Poster <newbie.poster@yahoo.com>)
Ответы Re: Logging in with postgres remotely
Список pgsql-admin
Thanks for the response. I was able to get postgres user to connect to the remote database by using the 'alter user' command from within psql.  However, I am unable to connect to the same server with a different user.  I created a generic user called pgAdmin and used the command:

grant all privileges on database clients to user pgAdmin

I am certain I know that users password yet I cannot connect with it from my workstation. Do you think the pgpass file will help in this instance?


From: Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>
To: Newbie Poster <newbie.poster@yahoo.com>
Sent: Friday, March 27, 2009 4:14:05 PM
Subject: Re: [ADMIN] Logging in with postgres remotely

Newbie Poster wrote:

>  Error connecting to the server: FATAL:  password authentication failed
> for user "postgres"

Sounds like a hunt for the pgpass file is recommended:

http://www.postgresql.org/docs/8.3/interactive/libpq-pgpass.html

Peter

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

Предыдущее
От: Newbie Poster
Дата:
Сообщение: Logging in with postgres remotely
Следующее
От: Flavio Henrique Araque Gurgel
Дата:
Сообщение: Re: Logging in with postgres remotely