Jeremiah Megie <jmegie@gmail.com> writes:
> Warning: pg_connect(): Unable to connect to PostgreSQL server: could
> not connect to server: Permission denied Is the server running locally
> and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
Check the file permissions on the socket file ... is it world writable?
regards, tom lane