pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedPgaccess database connection fails
2+ messages / 2 participants
[nested] [flat]
* Pgaccess database connection fails
@ 1998-12-10 08:09 Venkatesh Raghavan <raghavan@media.osaka-cu.ac.jp>
1998-12-10 08:11 ` Re: [INTERFACES] Pgaccess database connection fails Constantin Teodorescu <teo@flex.ro>
0 siblings, 1 reply; 2+ messages in thread
From: Venkatesh Raghavan @ 1998-12-10 08:09 UTC (permalink / raw)
To: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [INTERFACES] Pgaccess database connection fails
1998-12-10 08:09 Pgaccess database connection fails Venkatesh Raghavan <raghavan@media.osaka-cu.ac.jp>
@ 1998-12-10 08:11 ` Constantin Teodorescu <teo@flex.ro>
0 siblings, 0 replies; 2+ messages in thread
From: Constantin Teodorescu @ 1998-12-10 08:11 UTC (permalink / raw)
To: Venkatesh Raghavan <raghavan@media.osaka-cu.ac.jp>; +Cc: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~1998-12-10 08:11 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-12-10 08:09 Pgaccess database connection fails Venkatesh Raghavan <raghavan@media.osaka-cu.ac.jp>
1998-12-10 08:11 ` Constantin Teodorescu <teo@flex.ro>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox