Rake db:reset 'user does not have CONNECT privilege'

Solution 1:

Use heroku pg:reset DATABASE instead as noted in https://devcenter.heroku.com/articles/rake

You cannot drop databases in Heroku with rake db:reset because user has no privileges.

Solution 2:

You can't drop your PG database on Heroku.