From: | Joel Burton <joel(at)joelburton(dot)com> |
---|---|
To: | Stephane Pinel <spinel(at)noos(dot)fr> |
Cc: | "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: Connect to pg via tcpip |
Date: | 2001-10-19 20:46:34 |
Message-ID: | Pine.LNX.4.30.0110191643420.22474-100000@temp.joelburton.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
On Fri, 19 Oct 2001, Stephane Pinel wrote:
> I need to connect to a pgsql database from a remote place. I read the manual
> and made all the changes in pg_hba.conf etc... But it don't runs.
> Maybe someone could explain to me all the steps I have to complete ?
It's helpful to post error messages you receive rather than simply saying
it doesn't run.
The most likely problem is that you're not running the postmaster or
pg_ctl program w/TCP connections enabled. As a security precaution,
they're
disabled by default.
Either:
(a) add -o "-i" to your postmaster or pg_ctl command (for occasional TCP
use depending on startup)
or
(b) edit postgresql.conf to set tcpip_socket = true
HTH,
--
Joel BURTON | joel(at)joelburton(dot)com | joelburton.com | aim: wjoelburton
Independent Knowledge Management Consultant
From | Date | Subject | |
---|---|---|---|
Next Message | Jason Davis | 2001-10-19 23:57:59 | Re: ecpg and multiple connections |
Previous Message | Brett W. McCoy | 2001-10-19 20:32:28 | Re: Connect to pg via tcpip |