Cannot connect to Database

From: bernd(at)kalwar(dot)net
To: pgsql-general(at)postgresql(dot)org
Subject: Cannot connect to Database
Date: 2005-02-08 17:46:00
Message-ID: E1CyZR2-0002QP-00@www.strato-webmail.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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«, Datenbank »test«, SSL aus

I get the same error-message with other applications, e.g. pgaccess, too.

My pg_hba.conf looks like:

# TYPE DATABASE USER IP-ADDRESS IP-MASK
METHOD


host all all 127.0.0.1 255.255.255.255 trust

The database and the applications are on the same host.

What could be the problem.

thx (and soory for my english),
Bernd

Responses

Browse pgsql-general by date

  From Date Subject
Next Message mike 2005-02-08 17:47:22 Re: Confused by to_char
Previous Message Surabhi Ahuja 2005-02-08 17:44:57