Thread: BUG #8689: createdb db finds user ? password?

BUG #8689: createdb db finds user ? password?

From
sixs@ida.net
Date:
The following bug has been logged on the website:

Bug reference:      8689
Logged by:          Jim Smiley
Email address:      sixs@ida.net
PostgreSQL version: 9.3.1
Operating system:   windows 8.1
Description:

I installed Postgresql  9.3. I was not asked for a user. I then tried to run
created clog. I get the message


C:\Program Files\PostgreSQL\9.3\bin>createdb clog
Password:
Password:
createdb: could not connect to database template1: FATAL:  password
authenticati
on failed for user "Jim"


C:\Program Files\PostgreSQL\9.3\bin>


Is this a bug?

Re: BUG #8689: createdb db finds user ? password?

From
Michael Paquier
Date:
On Sat, Dec 21, 2013 at 12:55 PM,  <sixs@ida.net> wrote:
> I installed Postgresql  9.3. I was not asked for a user. I then tried to run
> created clog. I get the message
>
>
> C:\Program Files\PostgreSQL\9.3\bin>createdb clog
> Password:
> Password:
> createdb: could not connect to database template1: FATAL:  password
> authenticati
> on failed for user "Jim"
>
> C:\Program Files\PostgreSQL\9.3\bin>
>
> Is this a bug?
No, you are simply not typing the correct password for connection to
server when trying to create this database, making the creation of
this database "clog" fail.

Regards,
--
Michael