【发布时间】:2018-03-02 05:51:59
【问题描述】:
我在本地创建了 Postgresql 数据库。 Postgre database
这是我的 database.yml 文件。 默认值:&默认值 适配器:postgresql 游泳池:5 超时:5000
development:
<<: *default
database: myrubyblog
username: postgres
password: Naruto1994.
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
<<: *default
database: myrubyblog
username: postgres
password: Naruto1994.
production:
<<: *default
database: myrubyblog
username: postgres
password: Naruto1994.
我已确保输入正确的密码,但我仍然收到此错误。
【问题讨论】:
-
尝试从密码中删除点?另外,您如何创建您的数据库?你真的在 psql 上设置了这个密码吗?
标签: ruby-on-rails ruby postgresql authentication