ECPG could not connect to the database. - Mailing list pgsql-general

From Joachim Jaeckel
Subject ECPG could not connect to the database.
Date
Msg-id 3A2B5FA4.F004E76C@coffeebreak.de
Whole thread Raw
Responses Re: ECPG could not connect to the database.  (Michael Meskes <meskes@postgresql.org>)
Re: ECPG could not connect to the database.  (Artur Pietruk <arturp@plukwa.pdi.net>)
List pgsql-general
Hello,

I´m trying to use embedded sql with postgresql through ecpg. But if I
try to make a connection to my database, I get the following error at
runtime:

Could not connect to database buecher@localhost in line 18.
(I´m using postgresql 7.0.2)

psql and the jdbc is working, but not the ecpg connection.

I tried the follwing connect statements:

exec sql connect to buecher;
exec sql connect to buecher user joe;
exec sql connect to buecher user joe identified by blubber;

and everything ends in the same message.

Do I have to configure something additionally for ecpg? Or anything else
special?

Hope you could help me?

Thanks in advance.
Joachim.

pgsql-general by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: Re: Why PostgreSQL is not that popular as MySQL?
Next
From: 100.179370@germanynet.de (Martin Jacobs)
Date:
Subject: Re: postmaster of 7.0.3 listening but pslq cannot connect