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

pgsql-bugs by date

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

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