Hi Borsos,
Could be a lot of different things.
1. What does pg_hba.conf contain?
2. You appear to be connecting using TCP/IP. Have you started
postmaster with the -i option or is 'tcpip_tocket = true' in
postgresql.conf?
3. Can you connect using the same host, port, dbname, user and password
using the psql command-line client?
Matthew.
On Saturday, January 25, 2003, at 04:57 AM, Borsos József wrote:
$conn_string = "host=x.x.x.x port=5432 dbname=xxxx user=COMPAX
password=xxxx";
$connect = pg_connect($conn_string);
RESULT:
Warning: pg_connect() [function.pg-connect]: Unable to connect to
PostgreSQL server: Password authentication failed for user 'COMPAX' .
in xxx on line 4
--
Matthew Horoschun
Network Administrator
CanPrint Communications Pty. Ltd.