Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
March 17, 2005, 1:47 pm
rate this thread
I seem to be unable to connect to my PostgreSQL database over UNIX
domain sockets, i.e. pg_connect("dbname=mydb");
No matter what I do to the pg_hba.conf file, or anything else, PHP
always returns things like, "Are you sure the server is running
locally?", etc. What's the magic chant to connect to PostgreSQL over
UNIX domain sockets? I know it's working because I can connect via
psql. In case it matters, I'm using all this on Fedora C3.
NOTE* E-mail address in header is no longer valid.