PostgreSQL for Mac OS X
Subject:   can't create a new DB
Date:   2003-07-30 02:43:11
From:   anonymous2
Thank a lot for your article, its very usefull for me, i do every step right since the command "createdb foo", terminal give me this message:

psql: 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"?
createdb: database creation failed

do you know why?
Thanks a lot

Full Threads Newest First

Showing messages 1 through 1 of 1.

  • can't create a new DB
    2004-01-03 13:59:08  anonymous2 [View]

    The Postmaster has to be running before you can issue commands. The easiest way to start the postmaster is to install the Postgres Startup item created by Marc Liyanage which you can find at this page:

    It may work for you out of the box; but if it doesn't, check his User Forums for information on how to fix the problem.