Re: [GENERAL] cannot connect to database through ECPG but can through psql

2015-06-04 Thread Tom Lane
Seann Reed writes: > I'm a relative newbie to Postgres but I've asked a few colleagues about > this problem without a solution, so I'm hoping someone on the list serve > can help. > The problem arose when I move to an upgraded operating system, an upgraded > version of Postgres, and when I dump a

Re: [GENERAL] cannot connect to database through ECPG but can through psql

2015-06-04 Thread Andreas Kretschmer
Seann Reed wrote: > Everything worked fine with the old setup.  With the new setup, I can access > my > database through psql command-line.  However, I have a compiled program called > 'Shefdecode' that makes queries to the database through ECPG and this program > cannot access the database.  I

[GENERAL] cannot connect to database through ECPG but can through psql

2015-06-04 Thread Seann Reed
I'm a relative newbie to Postgres but I've asked a few colleagues about this problem without a solution, so I'm hoping someone on the list serve can help. The problem arose when I move to an upgraded operating system, an upgraded version of Postgres, and when I dump a database out of the old machi

Re: [GENERAL] Cannot connect to Database

2005-02-08 Thread bernd
That was it. i've two hb_conf-Files on my system. Now I can connect without any problems. thx --- Ursprüngliche Nachricht --- Datum: 08.02.2005 20:06 Von: Scott Marlowe <[EMAIL PROTECTED]> An: [EMAIL PROTECTED] Betreff: Re: [GENERAL] Cannot connect to Database > Is postgres

Re: [GENERAL] Cannot connect to Database

2005-02-08 Thread bernd
:::5432 :::* LISTEN unix 2 [ ACC ] STREAM HÖRT 15159 /tmp/.s.PGSQL.5432 thx, Bernd --- Ursprüngliche Nachricht --- Datum: 08.02.2005 19:56 Von: Lonni J Friedman <[EMAIL PROTECTED]> An: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Betreff: Re: [GENERAL] Cannot co

Re: [GENERAL] Cannot connect to Database

2005-02-08 Thread Scott Marlowe
> thx, > Bernd > > --- UrsprÃngliche Nachricht --- > Datum: 08.02.2005 19:31 > Von: Scott Marlowe <[EMAIL PROTECTED]> > An: [EMAIL PROTECTED] > Betreff: Re: [GENERAL] Cannot connect to Database > > > Did you restart Postgresql after editing your pg_hba.conf file?

Re: [GENERAL] Cannot connect to Database

2005-02-08 Thread Tom Lane
[EMAIL PROTECTED] writes: > everytime I try to connect to my Database with a Java-Applikation, I > recieve only the following Exception: > org.postgresql.util.PSQLException: A connection error has occurred: > org.postgresql.util.PSQLException: FATAL: kein pg_hba.conf-Eintrag für > Host »127.0.0.1«

Re: [GENERAL] Cannot connect to Database

2005-02-08 Thread Lonni J Friedman
ote: > > Did you restart Postgresql after editing your pg_hba.conf file? > > Yes, I did. > > thx, > Bernd > > --- Ursprüngliche Nachricht --- > Datum: 08.02.2005 19:31 > Von: Scott Marlowe <[EMAIL PROTECTED]> > An: [EMAIL PROTECTED] > Betreff: Re

Re: [GENERAL] Cannot connect to Database

2005-02-08 Thread bernd
> Did you restart Postgresql after editing your pg_hba.conf file? Yes, I did. thx, Bernd --- Ursprüngliche Nachricht --- Datum: 08.02.2005 19:31 Von: Scott Marlowe <[EMAIL PROTECTED]> An: [EMAIL PROTECTED] Betreff: Re: [GENERAL] Cannot connect to Database > Did you restart Post

Re: [GENERAL] Cannot connect to Database

2005-02-08 Thread Scott Marlowe
ake" <[EMAIL PROTECTED]> > An: [EMAIL PROTECTED] > Betreff: Re: [GENERAL] Cannot connect to Database > > > [EMAIL PROTECTED] wrote: > > >>Do you have TCP/IP activated in postgresql.conf ? Are you trying to > > >>connect via localhost (127.0.0.1) or some

Re: [GENERAL] Cannot connect to Database

2005-02-08 Thread bernd
I still recive the same error-message thx, Bernd --- Ursprüngliche Nachricht --- Datum: 08.02.2005 19:13 Von: javier wilson <[EMAIL PROTECTED]> An: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Betreff: Re: [GENERAL] Cannot connect to Database > have you tried connecting to

Re: [GENERAL] Cannot connect to Database

2005-02-08 Thread bernd
I recvive still the same error-message. thx, Bernd --- Ursprüngliche Nachricht --- Datum: 08.02.2005 19:14 Von: "Joshua D. Drake" <[EMAIL PROTECTED]> An: [EMAIL PROTECTED] Betreff: Re: [GENERAL] Cannot connect to Database > [EMAIL PROTECTED] wrote: > >>Do

Re: [GENERAL] Cannot connect to Database

2005-02-08 Thread Joshua D. Drake
n you: psql -h 127.0.0.1 -U postgres template1 ? Sincerely, Joshua D. Drake thx, Bernd --- Ursprüngliche Nachricht --- Datum: 08.02.2005 18:52 Von: Lonni J Friedman <[EMAIL PROTECTED]> An: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Betreff: Re: [GENERAL] Cannot connect to Database

Re: [GENERAL] Cannot connect to Database

2005-02-08 Thread bernd
e Nachricht --- Datum: 08.02.2005 18:52 Von: Lonni J Friedman <[EMAIL PROTECTED]> An: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Betreff: Re: [GENERAL] Cannot connect to Database > On Tue, 08 Feb 2005 18:46:00 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, &

Re: [GENERAL] Cannot connect to Database

2005-02-08 Thread Lonni J Friedman
On Tue, 08 Feb 2005 18:46:00 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > everytime I try to connect to my Database with a Java-Applikation, I > recieve only the following Exception: > > org.postgresql.util.PSQLException: A connection error has occurred: > org.postgresql.util.PSQ

[GENERAL] Cannot connect to Database

2005-02-08 Thread bernd
Hi, everytime I try to connect to my Database with a Java-Applikation, I recieve only the following Exception: org.postgresql.util.PSQLException: A connection error has occurred: org.postgresql.util.PSQLException: FATAL: kein pg_hba.conf-Eintrag für Host »127.0.0.1«, Benutzer »postgres«, Datenba