Question
Database connection error on Rails application with postgresql database
Good day! Could You help me with issue after installing RoR image with postgresql - generate model and after it make migration: rake db:migrate RAILSENV=production. Get a mistake - “PG:ConnectionBad: fesendauth: no password supplied”. What can I do? (export APPDATABASEPASSWORD=**** helps only if there is no restart).
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
export APPDATABASEPASSWORD=<production_database_password>
<production_database_password> can be found when you first ssh into your digital ocean account