Deploying wordpress site with heroku (Error establishing a database connection)

heroku
wordpress
database

#1

I just created a wordpress site in cloud9 and used heroku to deploy it. When I go to the site url that heroku supplied to me it says, " Error establishing a database connection". What can I do to fix this?