Re: How to connect using pg_connect function from php3 ?

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Luiz Antonio <luiz(at)supersoft(dot)com(dot)br>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: How to connect using pg_connect function from php3 ?
Date: 2000-04-26 18:10:50
Message-ID: 3907312A.381FD77C@wgcr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Luiz Antonio wrote:
> I´ve installed the postgresql 6.5.2-2cl.i386.rpm, the postgresql-devel, the
> postgresql-client and postgresql-lib. After, I created the user postmaster
[snip]
> Warning: Unable to connect to PostgresSQL server: connectDB() -- connect()
> failed:
> Is the postmaster running (with -i) at 'localhost' and accepting connections
> on TCP/IP port '5432'? in
> /home/httpd/html/postgresql/multi.php3 on line 14

> Does anybody know how can I do it?
> Do I need to change any name of the last parameters that I am using? Do I
> need to add others?

Is the postmaster running with '-i'???? (use ps to check)

These RPMs, are they from Corel Linux or Caldera??
--
Lamar Owen
WGCr Internet Radio
1 Peter 4:11

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael S. Kelly 2000-04-26 22:21:33 I'm just doin' the 7.0 RC1 install and have some input on the documentation.
Previous Message Charles Tassell 2000-04-26 18:06:19 Re: pgsql DATE