Sluggers,

As a php and postgres newbie, I'm trying to get php to connect to a postgres database on the local machine (FC1). The error from php's db_connect statement is that postgres isn't listening on tcp port 5432.

  # netstat -an | grep 543

  unix  2   [ ACC ]  STREAM    LISTENING  4697223 /tmp/.s.PGSQL.5432

Hmmm, I was expecting to see tcp as the protocol, but it seems it's listening on a unix domain socket. ???

I've checked the /etc/init.d/postgres file and PGPORT=5432 is set.

Have I missed something?

TIA's

Pete.


-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to