pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shoaib Mir <shoaibmir@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Authentication troubleshooting using psql
Date: Tue, 23 May 2006 23:33:20 +0500
Message-ID: <bf54be870605231133x6ebb4b97pc3f1686b98a2347f@mail.gmail.com> (raw)
In-Reply-To: <870838b9c9b.447301cd@courrier.uqam.ca>
References: <870838b9c9b.447301cd@courrier.uqam.ca>

Try using

\c dbname

and if you want to get rid of the asking password thing you can change your
authentication method from 'md5' to 'trust' in your pg_hba.conf file and
then reload the settings using "pg_ctl reload"

/Shoaib

On 5/23/06, Tahir Tamba <tamba.tahir@courrier.uqam.ca> wrote:
>
> Hi Guys,
>
> I install Postgres 8.1.3 on WinXP Pro OS using msi.exe. Using Postgres
> with PGAdmin III, everything works well. But when I'm trying to use the psql
> terminal interface to connect into my database  psql ask me to enter my
> password and when trying to enter my password, nothing happens from my
> keyboard.
> Exemple : postgres=# \connectdb postgres
> Password for postgres user: unable to type my password cursor doesn't work
> And when I press Enter tab I get the following error:
> "FATAL: password authentication failed for user  Postgres
>
> who can help me to solve this
> Thank
>
>
>
> Tahir Tamba
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>
>
>
>

view thread (3+ messages)  latest in thread

Message-ID: <bf54be870605231133x6ebb4b97pc3f1686b98a2347f@mail.gmail.com>
Permalink:  ../bf54be870605231133x6ebb4b97pc3f1686b98a2347f@mail.gmail.com/
Also on:    postgresql.org/message-id/bf54be870605231133x6ebb4b97pc3f1686b98a2347f@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: shoaibmir@gmail.com
  Subject: Re: Authentication troubleshooting using psql
  In-Reply-To: <bf54be870605231133x6ebb4b97pc3f1686b98a2347f@mail.gmail.com>
  References: <870838b9c9b.447301cd@courrier.uqam.ca> <bf54be870605231133x6ebb4b97pc3f1686b98a2347f@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox