Postgresql problem

gm novastars at sympatico.ca
Sun Apr 18 02:32:18 UTC 2004


 
 
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=***** ");
 
 
 
I’ve taken down the iptables and I know psql is working since I created
a table and populated with data. What could be missing/wrong?
 
 
Thanks
 
gm

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.651 / Virus Database: 417 - Release Date: 4/5/2004


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.651 / Virus Database: 417 - Release Date: 4/5/2004
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040417/1cd51610/attachment-0001.htm>


More information about the fedora-list mailing list