Postgres 安装 :我使用 macports 并按照以下命令安装 postgres。这是链接https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/#macports
$ sudo port install postgresql83-server
无法创建数据库 :当我尝试使用以下命令从终端应用程序创建数据库时
$ createdb mydb
我收到此错误消息
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 "/var/pgsql_socket/.s.PGSQL.5432"?
能否请你帮忙 !!