Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group