Re: what do I wrong??? - Mailing list pgsql-php

From Matthew Horoschun
Subject Re: what do I wrong???
Date
Msg-id C237284E-3277-11D7-84B0-000393B3A702@canprint.com.au
Whole thread Raw
In response to what do I wrong???  (Borsos József <pgsql-php@borsos.hu>)
List pgsql-php
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.


pgsql-php by date:

Previous
From: Borsos József
Date:
Subject: what do I wrong???
Next
From: "Samuel Torton"
Date:
Subject: Re: Probleme with Postgresql and phpPgAdmin on a Debian Linux