Re: Problem while using createdb for the first time - Mailing list pgsql-novice

From Ms swati chande
Subject Re: Problem while using createdb for the first time
Date
Msg-id 413682.70258.qm@web112601.mail.gq1.yahoo.com
Whole thread Raw
In response to Problem while using createdb for the first time  (Ms swati chande <swativc@yahoo.com>)
Responses Re: Problem while using createdb for the first time
List pgsql-novice
Thanks for your response, but it didn't work.

It goes like this,

c:\>createdb demo
Password:
createdb: couldnot connect to database postgres: FATAL: Password authentication failed for user 'prof'.

I made the following change in pg_hba.conf and it still did not work.
local     all      all      127.0.0.1     trust

I haven't set any password anywhere.

But, just in case I have forgotten, what do I do?

Thanks
Regards,
Swati


--- On Tue, 6/30/09, Patrick <flymooney@gmail.com> wrote:

> From: Patrick <flymooney@gmail.com>
> Subject: Re: [NOVICE] Problem while using createdb for the first time
> To: "Ms swati chande" <swativc@yahoo.com>
> Date: Tuesday, June 30, 2009, 9:33 AM
> Ms swati chande wrote:
> > Hi,
> >
> > I built postgresql from source using Windows 2005.
> >
> > After installation, I am trying to create a database
> using
> >
> > createdb.
> >
> > It then asks for a password. What password is it?
> There are now passwords set on my system. Also tried editing
> pg_hba.conf. But could not solve the problem.
> >
> > How do I move ahead.
> >
> > Thanks
> >
> > Regards
>
> Try "postgres" (works on Linux but I'm not sure about
> Windows).
>
> If you edit pg_hba.conf to "trust", it should work also
> (but watch your security).
>
> Patrick
>
>
>
>
>
>




pgsql-novice by date:

Previous
From: Ms swati chande
Date:
Subject: Problem while using createdb for the first time
Next
From: Ms swati chande
Date:
Subject: Re: Problems using psql--Fatal password authentication failed