Received: from flex.flex.ro (IDENT:root@ns.flex.ro [193.230.255.2]) by hub.org (8.9.1/8.9.1) with ESMTP id DAA14435 for ; Thu, 10 Dec 1998 03:13:44 -0500 (EST) (envelope-from teo@flex.ro) Received: from flex.ro (IDENT:teo@teo.flex.ro [193.230.255.3]) by flex.flex.ro (8.9.1/8.9.1) with ESMTP id PAA10014; Wed, 9 Dec 1998 15:53:54 +0200 Sender: teo@flex.flex.ro Message-ID: <366F824A.BBBF3B23@flex.ro> Date: Thu, 10 Dec 1998 10:11:54 +0200 From: Constantin Teodorescu Organization: FLEX Consulting X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.36 i586) MIME-Version: 1.0 To: Venkatesh Raghavan CC: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] Pgaccess database connection fails References: <366F81B7.FA3A378A@media.osaka-cu.ac.jp> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Venkatesh Raghavan wrote: > > I am trying to use your very convenient TCL/TK interface but am ending > up with a > "Connection to database failed" message. > > I tested if there was something wrong with the postmaster deamon my > running the > following command on the terminal > > >psql -u -h localhost template1 > (Psql with authencate and hostname options) > > and could connect to the template1 database without any problems. Is your postmaster running with -i option ? I start my postmaster with postmaster -i -o -e & "-o -e" stands for options european date style. But -i allows connections through tcp/ip ports. -- Constantin Teodorescu director FLEX Consulting Braila, ROMANIA