我在本地创建了Postgresql数据库。 Postgre databaseRuby on Rails身份验证错误postgres
这里是我的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上设置这个密码? – NeoVe