Re: Logging in with postgres remotely
От | Flavio Henrique Araque Gurgel |
---|---|
Тема | Re: Logging in with postgres remotely |
Дата | |
Msg-id | 32212646.293281238306317487.JavaMail.root@mail.4linux.com.br обсуждение исходный текст |
Ответ на | Re: Logging in with postgres remotely (Newbie Poster <newbie.poster@yahoo.com>) |
Ответы |
Re: Logging in with postgres remotely
|
Список | pgsql-admin |
Hi Newbie
----- "Newbie Poster" <newbie.poster@yahoo.com> escreveu:
Have you checked your pg_hba.conf file in your PostgreSQL server (if you have access to it)?
Maybe it's not allowed to connect remotely as a regular user but postgres.
Best regards
Flavio
----- "Newbie Poster" <newbie.poster@yahoo.com> escreveu:
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?
>
> 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?
Have you checked your pg_hba.conf file in your PostgreSQL server (if you have access to it)?
Maybe it's not allowed to connect remotely as a regular user but postgres.
Best regards
Flavio
В списке pgsql-admin по дате отправления: