Re: error message "psql: expected authentication request from server, but received " when using psql to connect remote database

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "TIAN Justin" <yongjuntian(at)alcatel-lucent(dot)com>
Cc: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: error message "psql: expected authentication request from server, but received " when using psql to connect remote database
Date: 2008-05-22 13:43:23
Message-ID: 29938.1211463803@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"TIAN Justin" <yongjuntian(at)alcatel-lucent(dot)com> writes:
> Thanks for your quick response; the server we used is 8.1.4,
> The error when using client 8.1.4,
>> psql -U or -p 2222 -d testdb -h localhost
> Output:
> psql: expected authentication request from server, but received

What is in the server's pg_hba.conf file? I'm particularly wondering
what auth method is being selected ...

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Euler Taveira de Oliveira 2008-05-22 22:37:45 Re: BUG #4186: set lc_messages does not work
Previous Message Kris Jurka 2008-05-22 06:45:41 Re: Deadlock condition in driver