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

Re: psql doesn't work in GUI



On Sat, Dec 30, 2000 at 06:21:45PM +0100, Dragón wrote:
>  Connection to database 'mibsedatos' failed.
> ERROR: connectDB() - connect() failed: ConexiCn rehusada
> Is the postmaster running (with -i) at 'localhost' and 
> accepting connections on TCP/IP port '5432'?
> 
>  With psql no problem but the problem comes out with
> mpsql and pgaccess.

Leave the "hostname" and just about everything blank for the connection
configuration.  That should force the use of UNIX sockets rather than
TCP/IP sockets.

See /etc/postgresql/pg_hba.conf for changing security
configuration, and /etc/postgresql/postmaster.init for options for the
postmaster (like listening for TCP/IP connections).


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



Reply to: