Received: from mail.enterprise.net (mail.enterprise.net [194.72.192.18]) by hub.org (8.9.3/8.9.3) with ESMTP id KAA55011 for ; Thu, 3 Feb 2000 10:22:33 -0500 (EST) (envelope-from olly@lfix.co.uk) Received: from linda.lfix.co.uk (max05-009.enterprise.net [194.72.197.9]) by mail.enterprise.net (8.8.5/8.8.5) with ESMTP id PAA06195; Thu, 3 Feb 2000 15:22:31 GMT Received: from lfix.co.uk (olly@localhost [127.0.0.1]) by linda.lfix.co.uk (8.9.3/8.9.3/Debian 8.9.3-6) with ESMTP id PAA19842; Thu, 3 Feb 2000 15:23:19 GMT Message-Id: <200002031523.PAA19842@linda.lfix.co.uk> X-Authentication-Warning: linda.lfix.co.uk: Host olly@localhost [127.0.0.1] claimed to be lfix.co.uk X-Mailer: exmh version 2.1.1 10/15/1999 (debian) To: Jaume Pausas cc: pgsql-interfaces@postgreSQL.org, olly@linda.lfix.co.uk Subject: Re: [INTERFACES] =?iso-8859-1?Q?what=B4s?= for password ? (JDBC) In-Reply-To: Message from Jaume Pausas of "Thu, 03 Feb 2000 14:17:28 GMT." <38998DF8.F0268759@dis.ulpgc.es> References: <38998DF8.F0268759@dis.ulpgc.es> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 Date: Thu, 03 Feb 2000 15:23:19 +0000 From: "Oliver Elphick" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.org id KAA55155 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