Reputation: 5273
I see here how to drop Heroku Postgres DataBase. But how can I drop the database if I'm using the addon ClearDB?
Upvotes: 13
Views: 3684
Reputation: 4817
Other alternative
Using the commands line:
heroku config | grep CLEARDB_DATABASE_URL
Result:
CLEARDB_DATABASE_URL: mysql://xxx:xxxx@xxxxx/xxxxxx?reconnect=true
Pattern:
CLEARDB_DATABASE_URL: mysql://USER:PASSWORD@HOST/DATABASE?reconnect=true
Replace to connect:
mysql --host=HOST --user=USER --password DATABASE --reconnect=true
Then digit the password and press enter:
Enter password:
Upvotes: 7