Thread: Please - postgresql cannot connect?

Please - postgresql cannot connect?

From
"Ole"
Date:
I have installed PostgreSql7.2.1 on a mandrake8.2 with no errors
made a su - postgres and run /usr/local/pgsql/bin/postmaster -D -i
/usr/local/pgsql/data >logfile 2>&1 &

If I try to /usr/local/pgsql/bin/createdb test I get and error psql: could
not connect to server: No such file or directory .... "/tmp/.s.PQSQL.5432"
And I get the same if I try to /usr/local/pgsql/bin/psql template1

Please Help
Ole