Open
Description
deploy:migrating
01 /usr/local/rvm/bin/rvm default do bundle exec rake db:migrate
01 rake aborted!
01 PG::ConnectionBad: FATAL: password authentication failed for user "customuser"
...
Tasks: TOP => db:migrate
- I can normally login to psql under customuser
- command on server
RAILS_ENV=production rake db:migrate
is workling - database.yml :
production:
<<: *default
database: app_production
host: localhost
username: customuser
password: mypassword
- /etc/postgresql/10/main/pg_hba.conf :
# "local" is for Unix domain socket connections only
local all all md5
also tried peer
Metadata
Assignees
Labels
No labels
Activity