致命:用户“postgresq”的密码验证失败

时间:2018-03-04 23:47:41

标签: postgresql authentication passwords

当我尝试在http://localhost:3000上运行我的应用时出现以下错误

 FATAL: password authentication failed for user "postgresq".

不确定是什么问题,因为在database.yml文件中我的密码是正确的:

default: &default
  adapter: postgresql
  database: Dzeus
  encoding: unicode
  username: postgresq
  password: mypassword
  pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
  timeout: 5000

我可以使用相同的密码通过pg admin程序连接到数据库。昨天它工作正常,但今天发生了变化,我收到了这个错误。你能帮忙吗?

0 个答案:

没有答案
相关问题