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

From: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
To: "TIAN Justin" <yongjuntian(at)alcatel-lucent(dot)com>
Cc: <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-21 12:14:26
Message-ID: 48341222.8020307@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

TIAN Justin wrote:
> I met an error, when psql client version is 8.1.4, I use it to connect
> to remote database or local database, such as "psql -U name -p <port> -d
> <database> -h <ip>", it will prompt error message "psql: expected
> authentication request from server, but received ", but if the client
> version is 8.0.3, there is no problem, I don't know why, does it the
> configuration problem?

Please post the exact output you're getting in both cases.

What version is the server?

You should upgrade to the latest minor version, which is 8.1.11 for the
8.1 series, and 8.0.15 for the 8.0 series

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Paul Jordan 2008-05-21 17:43:33 Getting the command line to work
Previous Message TIAN Justin 2008-05-21 11:36:54 error message "psql: expected authentication request from server, but received " when using psql to connect remote database