Re: [INTERFACES] what´s for password ? (JDBC)

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: Jaume Pausas <a1649(at)dis(dot)ulpgc(dot)es>
Cc: pgsql-interfaces(at)postgreSQL(dot)org, olly(at)linda(dot)lfix(dot)co(dot)uk
Subject: Re: [INTERFACES] what´s for password ? (JDBC)
Date: 2000-02-03 15:23:19
Message-ID: 200002031523.PAA19842@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Jaume Pausas wrote:
>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!

Passwords are not necessarily used; they need to be configured in
$PGLIB/pg_hba.conf

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP key from public servers; key ID 32B8FAA1
========================================
"O come, let us worship and bow down; let us kneel
before the LORD our maker." Psalms 95:6

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Christopher R. Jones 2000-02-03 16:16:56 RE: [INTERFACES] Access 2000 and ODBC
Previous Message Nicolas Huillard 2000-02-03 14:44:18 RE: [INTERFACES] Access 2000 and ODBC