RE: [INTERFACES] what´s for password ? (JDBC) - Mailing list pgsql-interfaces

From Peter Mount
Subject RE: [INTERFACES] what´s for password ? (JDBC)
Date
Msg-id 1B3D5E532D18D311861A00600865478C70C15F@exchange1.nt.maidstone.gov.uk
Whole thread Raw
List pgsql-interfaces
in the PGDATA directory on the server theres a file called pg_hba.conf

Read the instructions in that file, and change the auth type from trust
to either password or crypt.

I personally use crypt for any reference that goes over the network
cable.

Peter

-----Original Message-----
From: Jaume Pausas [mailto:a1649@dis.ulpgc.es]
Sent: Thursday, February 03, 2000 2:17 PM
To: pgsql-interfaces@postgreSQL.org
Subject: [INTERFACES] what´s for password ? (JDBC)


Hi

Why when I use a getConnection(url,user,password) if I put any password
it connect?

Supose that a I have a db named felp and the create of it is jupito with
the password lolo

If i put : getConnection("jdbc:postgresql:felp","jupito","nolose"); it
connect!. Why? doesn´t it the correct password!



************


pgsql-interfaces by date:

Previous
From: Peter Mount
Date:
Subject: RE: [INTERFACES] ConnectionPoolDataSource (JDBC)
Next
From: Nicolas Huillard
Date:
Subject: RE: [INTERFACES] Access 2000 and ODBC