pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: Suvanaket, Dear (MS) <Dear.Suvanaket@ngc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Fatal: Database does not exist
Date: Fri, 27 Feb 2009 15:42:58 -0700
Message-ID: <dcc563d10902271442u59aa1831md2f2f5c2bda46e3a@mail.gmail.com> (raw)
In-Reply-To: <33039DBDED22BE47B9F45999ED0D7A0409926B@XMBTX143.northgrum.com>
References: <33039DBDED22BE47B9F45999ED0D7A0409926B@XMBTX143.northgrum.com>

On Fri, Feb 27, 2009 at 2:41 PM, Suvanaket, Dear (MS)
<Dear.Suvanaket@ngc.com> wrote:
>
> Hi,
>
> I get the error "FATAL: Database "xxx" does not exist" when trying to
> connect to the database using JDBC. The superuser "postgres" owns my
> database and tables. However, it seems I can only connect to the database
> when the username matches the name of the database I am connecting to. I

What does your pg_hba.conf file say?



view thread (2+ messages)

Message-ID: <dcc563d10902271442u59aa1831md2f2f5c2bda46e3a@mail.gmail.com>
Permalink:  ../dcc563d10902271442u59aa1831md2f2f5c2bda46e3a@mail.gmail.com/
Also on:    postgresql.org/message-id/dcc563d10902271442u59aa1831md2f2f5c2bda46e3a@mail.gmail.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: scott.marlowe@gmail.com, Dear.Suvanaket@ngc.com
  Subject: Re: Fatal: Database does not exist
  In-Reply-To: <dcc563d10902271442u59aa1831md2f2f5c2bda46e3a@mail.gmail.com>

* 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