Re: PostgreSQL 8.0 Beta 2 does not prompt for password

Lists: pgsql-hackers
From: "Dann Corbit" <DCorbit(at)connx(dot)com>
To: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: PostgreSQL 8.0 Beta 2 does not prompt for password when requested:
Date: 2004-09-01 21:57:40
Message-ID: 54798A299E68514AB7C4DEBA25F03BE119145D@postal.corporate.connx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

I installed PostgreSQL under an account named postgres, using the
installer project.

dcorbit(at)DANNFAST ~
$ psql -h localhost -U postgres -W template1
psql.exe: FATAL: Password authentication failed for user "postgres"


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Dann Corbit <DCorbit(at)connx(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PostgreSQL 8.0 Beta 2 does not prompt for password
Date: 2004-09-01 22:57:13
Message-ID: 413653C9.5000000@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Dann Corbit wrote:

>I installed PostgreSQL under an account named postgres, using the
>installer project.
>
>dcorbit(at)DANNFAST ~
>$ psql -h localhost -U postgres -W template1
>psql.exe: FATAL: Password authentication failed for user "postgres"
>
>
>
>

"-h localhost" is redundant on Windows - it's the default (since we have
no Unix sockets)

Is there a .pgpass file that it somehow picked up?

cheers

andrew