| From: | Major Services <services(dot)major(at)gmail(dot)com> |
|---|---|
| To: | andreas(dot)kretschmer(at)schollglas(dot)com, pgsql-general(at)postgresql(dot)org |
| Subject: | Fwd: Unable to connect to Postgres database from email marketing software on the same host |
| Date: | 2010-03-15 12:13:07 |
| Message-ID: | 375c2da1003150513k39ecfa07n3f75808d0706a521@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
---------- Forwarded message ----------
From: Major Services <services(dot)major(at)gmail(dot)com>
Date: Mon, Mar 15, 2010 at 5:36 PM
Subject: Re: [GENERAL] Unable to connect to Postgres database from
email marketing software on the same host
To: rod(at)iol(dot)ie
I have the following:
host all dbadmin 0.0.0.0/0 trust
Do I need to change it to
host all dbadmin 127.0.0.1/32 trust
There are other (JAVA) applications connecting to the server with
user dbadmin remotely. Hope any change does not affect that.
Thanks
On Mon, Mar 15, 2010 at 5:25 PM, Raymond O'Donnell <rod(at)iol(dot)ie> wrote:
> On 15/03/2010 11:24, Major Services wrote:
>
>> I have an email marketing software installed on the same server as
>> PostgresSQL database.
>> Am unable to connect to the database from this application. The
>> database owner is dbadmin.
>>
>> My pg_hba.conf has one entry as:
>>
>> local all dbadmin trust
>>
>> What other setup is required for this?
>
> If the application is connecting via TCP/IP, I think you need a "host"
> rule for that:
>
> host all dbadmin 127.0.0.1/32 trust
>
> Ray.
>
> --
> Raymond O'Donnell :: Galway :: Ireland
> rod(at)iol(dot)ie
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Major Services | 2010-03-15 12:18:32 | Re: Unable to connect to Postgres database from email marketing software on the same host |
| Previous Message | Magnus Hagander | 2010-03-15 11:56:32 | Re: Postgres 8.4 Segfault on xpath |