From: | Igor Korot <ikorot01(at)gmail(dot)com> |
---|---|
To: | Christoph Berg <myon(at)debian(dot)org>, Igor Korot <ikorot01(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Where is pg_hba.conf |
Date: | 2017-08-13 14:27:41 |
Message-ID: | CA+FnnTz8h-2tkRMv4uYN-fkRFU601cws9-uS7vwfpr-fka0edg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi, Christoph,
On Sun, Aug 13, 2017 at 10:09 AM, Christoph Berg <myon(at)debian(dot)org> wrote:
> Re: Igor Korot 2017-08-13 <CA+FnnTwxiLXD2H_njPS6yf=nhjaE8vcwWFdVPPzbcuADmXTHgA(at)mail(dot)gmail(dot)com>
>> I need to modify the pg_hba.conf file to get access to the DB
>> remotely.
>>
>> However, I can't find this file anywhere on the system.
>
> Try "SHOW hba_file;".
Last login: Sat Aug 12 23:49:33 on ttys000
/Library/PostgreSQL/9.1/scripts/runpsql.sh; exit
MyMac:~ igorkorot$ /Library/PostgreSQL/9.1/scripts/runpsql.sh; exit
Server [localhost]:
Database [postgres]: draft
Port [5432]:
Username [postgres]:
Password for user postgres:
psql (9.1.24)
Type "help" for help.
draft=# SHOW hba_file
draft-# SHOW hba_file;
ERROR: syntax error at or near "SHOW"
LINE 2: SHOW hba_file;
^
Thank you.
>
> Christoph
From | Date | Subject | |
---|---|---|---|
Next Message | Igor Korot | 2017-08-13 14:32:32 | Re: Where is pg_hba.conf |
Previous Message | armand pirvu | 2017-08-13 14:12:01 | Re: Where is pg_hba.conf |