Installing PostGIS on Windows

Posted by Cornflake on Stack Overflow See other posts from Stack Overflow or by Cornflake
Published on 2010-05-01T22:53:52Z Indexed on 2010/05/01 22:57 UTC
Read the original article Hit count: 349

Filed under:
|
|
|

I've installed PostgreSQL and PostGIS, and now I'm trying to follow these instructions: http://docs.djangoproject.com/en/dev/ref/contrib/gis/install/#spatialdb-template

But I keep getting the following error, both in the command prompt and in Cygwin:

C:\Users\Home>createdb -E UTF8 template_postgis
createdb: 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"?

And I know PostgreSQL is running, because I'm using it right now!

Installing open source applications can sometimes be so frustrating...

I'll be very grateful for your help!

© Stack Overflow or respective owner

Related posts about postgresql

Related posts about postgis