How to resolve this PostgreSQL error on OS 10.6 (Snow Leopard)
Posted
by wgpubs
on Stack Overflow
See other posts from Stack Overflow
or by wgpubs
Published on 2010-04-26T20:13:03Z
Indexed on
2010/04/26
20:13 UTC
Read the original article
Hit count: 236
I followed the instructions for setting up postgresql from this site
All seems to go fine until I try:
createuser --superuser myname -U postgres
I get the following exception:
createuser: could not connect to database postgres: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
For the life of me I can't figure out how to resolve this. Any ideas???
© Stack Overflow or respective owner