Re: Backup DB not getting connected

From: "J S B" <jsbali(at)gmail(dot)com>
To: "Shane Ambler" <pgsql(at)007marketing(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Backup DB not getting connected
Date: 2006-10-13 18:57:37
Message-ID: a47902760610131157p59025290y9f4440a3eba9ee72@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

The user in the client machine is usrxyz (a unix user role) and user role
that owns newDB is userxyz (a db user role)....
works fine with another database in the same database server with same user
role combination.
Don't know whats going wrong..

On 10/13/06, Shane Ambler <pgsql(at)007marketing(dot)com> wrote:
>
> J S B wrote:
> > Hi,
> > I took a back up of my database and restored it in a new DB..When I'm
> > trying
> > to connect to the new DB from a client machine using ECPG connection
> > techniques, it says newDB doesn't exist.
> > There's another DB in the same DB server and if I try and connect to
> > that DB
> > then it doesn't cry over anything.
> >
> > Thanks
> > Jas
> >
> I am guessing that you can verify that the newDB exists and has the data
> you just have trouble from the ECPG client from any machine.
>
> I would check access privileges - does the user you log in as using ECPG
> have access to newDB? - the 'DB doesn't exist' may be a wrong error
> which should say access denied.
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message J S B 2006-10-13 19:03:17 Re: Backup DB not getting connected
Previous Message Jeff Davis 2006-10-13 18:45:45 Re: more anti-postgresql FUD