Lists: | pgsql-interfaces |
---|
From: | Venkatesh Raghavan <raghavan(at)media(dot)osaka-cu(dot)ac(dot)jp> |
---|---|
To: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | Pgaccess database connection fails |
Date: | 1998-12-10 08:09:27 |
Message-ID: | 366F81B7.FA3A378A@media.osaka-cu.ac.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-interfaces |
Hi all,
I am new to this list and postgresql and pgaccess as well.
I have installed postgres6.4 and pgaccess on my Linux (Slackware 3.4)
machine.
postgresql is running okay and the regression test were all OK.
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.
My .pgaccessrc file is shown below;
----------------------
username
lastport 5432
autoload 1
tvfont
lasthost localhost
lastdb template1
password
rows 200
-----------------------
Can you please advice me about how to get the pgaccess to connect to ny
database.
Thanks in advance.
Kind regards
Venkatesh Raghavan
Osaka City University
japan
From: | Constantin Teodorescu <teo(at)flex(dot)ro> |
---|---|
To: | Venkatesh Raghavan <raghavan(at)media(dot)osaka-cu(dot)ac(dot)jp> |
Cc: | pgsql-interfaces(at)postgreSQL(dot)org |
Subject: | Re: [INTERFACES] Pgaccess database connection fails |
Date: | 1998-12-10 08:11:54 |
Message-ID: | 366F824A.BBBF3B23@flex.ro |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-interfaces |
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