From: Oliver Elphick <olly@lfix.co.uk>
To: Jaume Pausas <a1649@dis.ulpgc.es>
Cc: pgsql-interfaces@postgreSQL.org
Cc: olly@linda.lfix.co.uk
Subject: Re: [INTERFACES] what´s for password ? (JDBC)
Date: Thu, 03 Feb 2000 15:23:19 +0000
Message-ID: <200002031523.PAA19842@linda.lfix.co.uk> (raw)
In-Reply-To: <a1649@dis.ulpgc.es> <38998DF8.F0268759@dis.ulpgc.es>
References: <38998DF8.F0268759@dis.ulpgc.es>
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.Elphick@lfix.co.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-interfaces@postgresql.org
Cc: olly@lfix.co.uk, a1649@dis.ulpgc.es, olly@linda.lfix.co.uk
Subject: Re: [INTERFACES] what´s for password ? (JDBC)
In-Reply-To: <200002031523.PAA19842@linda.lfix.co.uk>
References: <38998DF8.F0268759@dis.ulpgc.es> <200002031523.PAA19842@linda.lfix.co.uk>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox