DB Error: connect failed

From: Fatih Gulec <fatihg(at)cs(dot)hacettepe(dot)edu(dot)tr>
To: pgsql-php(at)postgresql(dot)org
Subject: DB Error: connect failed
Date: 2006-08-13 15:27:28
Message-ID: 2033.193.140.224.60.1155482848.squirrel@cs.hacettepe.edu.tr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Here is the problem :
System : Fedora Core 5
Application server : Apache (comes with Fedora base installation)

1. I could not connect to postgresql in php code whicih uses pear packet
DB. Here is the error code :
DB Error: connect failed [nativecode=Unable to connect to PostgreSQL
server: could not connect to server: Permission denied Is the server
running on host "127.0.0.1" and accepting TCP/IP connections on port
5432?] ** pgsql://postgres:bbmprens(at)127(dot)0(dot)0(dot)1/prens

2. By the way I can connect that db from an other machine which the system
is Windows XP and program is default PgAdmin.
2. Alsa I can connect and use from a windows machine with the sama php
code that connects to the dbms which works on the Fedora Core 5.
3. The user and password are tested by using pgsql command, in command
prompt.

Thanks...

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Andy Shellam 2006-08-13 19:32:43 Re: DB Error: connect failed
Previous Message John DeSoi 2006-08-10 06:12:08 Re: PL/pgSQL and PHP 5