【发布时间】:2010-05-01 22:53:52
【问题描述】:
我已经安装了 PostgreSQL 和 PostGIS,现在我正在尝试按照以下说明进行操作: http://docs.djangoproject.com/en/dev/ref/contrib/gis/install/#spatialdb-template
但我在命令提示符和 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"?
而且我知道 PostgreSQL 正在运行,因为我现在正在使用它!
安装开源应用程序有时会令人沮丧...
非常感谢您的帮助!
【问题讨论】:
标签: django postgresql cygwin postgis