Thread: Password?

Password?

From
Ms swati chande
Date:
Hi
 
When I write the following commands at the prompt,

>createuser -S -d -R user1
> createdb sample

I am asked to enter a password. I have not set any password anywhere. Which password is it asking for?
Please help.
I have built from source on Windows XP.

Thanks is advance,

Regards
Swati

Re: Password?

From
Ms swati chande
Date:
No, even for psql it is seeking the password!
 
Swati

--- On Wed, 7/8/09, Serge Fonville <serge.fonville@gmail.com> wrote:

From: Serge Fonville <serge.fonville@gmail.com>
Subject: Re: [NOVICE] Password?
To: "Ms swati chande" <swativc@yahoo.com>
Date: Wednesday, July 8, 2009, 4:11 PM

Can you login with psql?
Otherwise you can set the password for the superuser when you run initdb

On Wed, Jul 8, 2009 at 12:22 PM, Ms swati chande<swativc@yahoo.com> wrote:
> Oh Sorry, user,
> Its "Swati". No password assigned.
>
> initdb command:
> initdb -D c:\postgresql\data1
>
> No special permissions for PGDATA.
>
> Swati
>
> --- On Wed, 7/8/09, Serge Fonville <serge.fonville@gmail.com> wrote:
>
> From: Serge Fonville <serge.fonville@gmail.com>
> Subject: Re: [NOVICE] Password?
> To: "Ms swati chande" <swativc@yahoo.com>
> Date: Wednesday, July 8, 2009, 3:35 PM
>
>> What user os user are you using
>>       Windows XP.
> I meant, what is the currently logged on user
>
> What did your initdb.exe command look like?
> Are you running it as a service
>   if so, as what user
> Are there any special permissions to PGDATA
>
>