0
我刚换我的应用程序从sqlite3的到PostgreSQL,当我尝试在http://localhost:3000/
或运行耙分贝加载页面:迁移,我得到:交换数据库问题
could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
数据库YAML:
development:
adapter: postgresql
database: store_delevopment
pool: 5
(现在,我使用默认的Rails服务器statring服务器在开发模式。)
我没有这样的文件...这个文件夹是空的。同时安装时出现了一些非致命错误 – 2013-04-24 20:47:26
您使用的是哪个版本的PostgreSQL? – 2013-04-24 21:07:02
这是最新的一个,但现在我设置了9.0,安装了,它运行得非常好,服务器5433已启动,但仍然无法创建数据库 – 2013-04-24 21:36:02