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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

"expected authentication request from server, but received..."


  • From: Michał Jęczalik <pgsql-hackers(at)jeczalik(dot)com>
  • To: pgsql-hackers(at)postgresql(dot)org
  • Subject: "expected authentication request from server, but received..."
  • Date: Mon, 26 Sep 2005 09:59:53 +0200 (CEST)
  • Message-id: <Pine(dot)LNX(dot)4(dot)61(dot)0509260949170(dot)27020(at)samotnia(dot)zagle(dot)org(dot)pl>

	Hello,

I have a very old postgres 6.4 installation. I'm trying to connect to it from a fresh, up-to-date Debian-host, but I'm constantly getting (from DBI and PHP as well) this error message:

# ./update_dns.pl
DBI connect('dbname=dns;host=sql;authtype=password','dns',...) failed: expected authentication request from server, but received U
 at ./update_dns.pl line 237


Connection with psql works OK. Connecting from different (older) hosts with DBI/PHP works perfect as well. Something must have changed in recent versions of libpq and now it doesn't work. I looked into source code and found that the server's message at the very start of conversation appears to be something else than the libpq expects. But how to fix it?! Has the protocol change or what?

P.S. Don't tell me to upgrade postgres :) It must stay like that for some reasons which are beyond me.
--
Samotnik Michał Jęczalik, +48.695.64.75.14
www.zagle.org.pl   - rejsy morskie




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group