From: | Matthew Horoschun <mhoroschun(at)canprint(dot)com(dot)au> |
---|---|
To: | Borsos József <pgsql-php(at)borsos(dot)hu> |
Cc: | <pgsql-php(at)postgresql(dot)org> |
Subject: | Re: what do I wrong??? |
Date: | 2003-01-28 04:19:57 |
Message-ID: | C237284E-3277-11D7-84B0-000393B3A702@canprint.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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.
From | Date | Subject | |
---|---|---|---|
Next Message | Samuel Torton | 2003-01-28 11:02:17 | Re: Probleme with Postgresql and phpPgAdmin on a Debian Linux |
Previous Message | Christopher Kings-Lynne | 2003-01-28 01:11:31 | Re: Probleme with Postgresql and phpPgAdmin on a Debian Linux |