Re: Fatal: Database does not exist

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: "Suvanaket, Dear (MS)" <Dear(dot)Suvanaket(at)ngc(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Fatal: Database does not exist
Date: 2009-02-27 22:42:58
Message-ID: dcc563d10902271442u59aa1831md2f2f5c2bda46e3a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Fri, Feb 27, 2009 at 2:41 PM, Suvanaket, Dear (MS)
<Dear(dot)Suvanaket(at)ngc(dot)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?

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2009-02-28 00:17:00 Re: Question to transaction ID wraparound
Previous Message Suvanaket, Dear (MS) 2009-02-27 21:41:03 Fatal: Database does not exist