我在本地創建了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