0
我使用PostgreSQL 9.1,我使用Postgres网站上提供的DMG进行安装。所以,我的Postgres安装位于/Library/Postgres/9.1
。PostgreSQL 9.1和Rails 3数据库迁移错误
我敢肯定我的Postgres的服务器在运行,但是当我运行rake db:migrate
的rake
中止与此错误:
rake aborted!
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"?
为什么“回扣”搜索/var/...
而不是用我安装的Postgres?