Skip site navigation (1) Skip section navigation (2)

Re: BUG #5994: Can't excute DBI->connect to oracle by client site

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5994: Can't excute DBI->connect to oracle by client site
Date: 2011-05-11 03:40:41
Message-ID: 4DCA0539.3080800@hogranch.com (view raw or flat)
Thread:
Lists: pgsql-bugs
On 05/10/11 8:09 PM, 李紅兵 wrote:
> I run my test program with 2 ways in the same login environment.One 
> succeed and one fail.
>
> 1) psql -d dbi_link_test
> -->connect succeed
> 2) psql -h HOSTNAME -d dbi_link_test
> -->connect fail
>
> The different is connection options(Unix Domain Sockets/TCP Sockets). 

is your server listen_addresses = '*' ? if not, its not listening on the 
interface that will respond to connections to 'HOSTNAME'

and, is pg_hba.conf configured for an appropriate authentication method 
for `host` connections ?




In response to

Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2011-05-11 03:46:05
Subject: Re: Changed behaviour of \'
Previous:From: 李兵Date: 2011-05-11 03:09:08
Subject: Re: BUG #5994: Can't excute DBI->connect to oracle by client site

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group