X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 7E9779FB209 for ; Thu, 13 Jul 2006 14:22:11 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 28950-07 for ; Thu, 13 Jul 2006 14:22:02 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mir3-fs.mir3.com (mail.mir3.com [65.208.188.100]) by postgresql.org (Postfix) with ESMTP id EDDE49FB1B7 for ; Thu, 13 Jul 2006 14:22:01 -0300 (ADT) Received: mir3-fs.mir3.com 172.16.1.11 from 172.16.2.68 172.16.2.68 via HTTP with MS-WebStorage 6.0.6249 Received: from archimedes.mirlogic.com by mir3-fs.mir3.com; 13 Jul 2006 10:21:59 -0700 Subject: Re: password authentication failure From: Mark Lewis To: System Consult Cc: pgsql-jdbc@postgresql.org In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: MIR3, Inc. Date: Thu, 13 Jul 2006 10:21:59 -0700 Message-Id: <1152811319.1634.13.camel@archimedes> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-27) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200607/59 X-Sequence-Number: 15485 Try to connect to the database using the command-line tool and specifying the host parameter, to force a network connection (same type of connection that the JDBC driver uses). So run: psql -h whatever_server_jdbc_uses If that doesn't work, then you have an authentication problem; read the PG documentation about configuring authentication with pg_hba.conf. If it does work, then please supply the version of the driver you're using, the JDBC URL you're using, a code snippet showing how you're attempting to connect, and some basic info about your server (version, host it's running on). -- Mark Lewis On Thu, 2006-07-13 at 16:45 +0100, System Consult wrote: > I was able able to create my database and create a Admin role with a > password with which i was able to sign on to the database using the > prompt. However, an attempt to access the database via my java > application using jdbc gave this response > > FATAL: password authentication failed for user "Admin" > > > > please assist >