1

while deploying my new rails app into Heroku i am getting these below mentioned error

FATAL:  permission denied for database "postgres"
DETAIL:  User does not have CONNECT privilege.

Please help me.

1 Answer 1

2

Please try with blow command.

heroku pg:reset DATABASE_URL

heroku rake db:migrate

heroku restart

Hope this will help you.

Sign up to request clarification or add additional context in comments.

3 Comments

hai Hardik, i tried it works good, but i am not able run the deployed app in Browser, saying that "Application error"
hai hardik, i found issue through "heroku logs", Controller Issue. thanks
My pleasure..!! :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.