[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Starting with postgreSQL and pgaccess



On Tue, Jul 17, 2001 at 04:30:57PM +0000, Victor wrote:
> Connection to database failed ConnectDB().....Connection refused: Is
> the postmaster running (with -i) at localhost and accepting
> connections on TCP/IP port 5432?

Probably postgresql is not listening for tcp/ip connections.  If I
remember correctly, pgaccess can use the unix sockets connect if you
don't specify the host/port connection parameters (and probably not
user/passwd either).  Otherwise, you have to enable tcp/ip in
postgresql.conf (or postgresql.init or something, it varies).

> I've checked in /etc/services for port 5432 and it is there for postgres.

That file only lists the services and associated ports.  It doesn't mean
anything is actually providing those services.

-- 
Eric G. Miller <egm2@jps.net>



Reply to: