I see here how to drop Heroku Postgres DataBase. But how can I drop the database if I'm using the addon ClearDB?
In heroku website, go to My Apps and select the app on which you have installed ClearDB. On the top corner click on Addons and then select ClearDB MySQL Database. Once there, click on your database and choose the 'Endpoint Information' tab. There you see your username/password.
ClearDB on Heroku enables you to build your apps using native MySQL databases so that you can focus on your applications and get your ideas to market faster.
Heroku customers can get started using ClearDB on Heroku for free with our 5MB Ignite package, and move into production use with our Punch package, a great price at $9.99 per month with 1GB of storage.
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:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With