RE: Postgresql problem
From: Aaron O'Hara (ajeo_at_globalreachsoftware.com)
Date: 04/21/04
- Previous message: Fred A. Shaul: "Re: rpm all wacked?"
- In reply to: Giandomenico De Tullio: "Re: Postgresql problem"
- Next in thread: Lamar Owen: "Re: Postgresql problem"
- Reply: Lamar Owen: "Re: Postgresql problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "'For users of Fedora Core releases'" <fedora-list@redhat.com> Date: Tue, 20 Apr 2004 23:36:44 -0700
Take a look at netstat -tap and see of postgres is running. I installed the
latest package/rpm (7.4.2) and, by default, postgres wasn't listening. I
changed the postmaster startup to include the -i parameter so that it would
listen.
Aaron
-----Original Message-----
From: fedora-list-bounces@redhat.com [mailto:fedora-list-bounces@redhat.com]
On Behalf Of Giandomenico De Tullio
Sent: Sunday, April 18, 2004 11:54 AM
To: For users of Fedora Core releases
Subject: Re: Postgresql problem
On 18/04/2004 04:32:18, gm wrote:
>
>
> Hey guys
>
> I get this error in php:
>
> Warning: pg_connect(): Unable to connect to PostgreSQL server: could
> not connect to server: Connection refused Is the server running on
> host localhost and accepting TCP/IP connections on port 5432? . in
> /www/index.php on line 7
>
> PHP code
>
> $conn = pg_connect("host=localhost user=***** password=****
> dbname=***** ");
>
remove "host=localhost" ?
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
- Previous message: Fred A. Shaul: "Re: rpm all wacked?"
- In reply to: Giandomenico De Tullio: "Re: Postgresql problem"
- Next in thread: Lamar Owen: "Re: Postgresql problem"
- Reply: Lamar Owen: "Re: Postgresql problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|