PostgreSQL + Rails连接故障排除

时间:2011-09-14 23:52:52

标签: ruby-on-rails postgresql rails-postgresql

1 个答案:

答案 0 :(得分:4)

将pg_hba.conf更改为

local   all         all                               trust
host    all         all         127.0.0.1/32          trust
host    all         all         ::1/128               trust

或将trust替换为md5并在database.yml

中指定密码