13

I see here how to drop Heroku Postgres DataBase. But how can I drop the database if I'm using the addon ClearDB?

Community
  • 1
  • 1
Alaa M.
  • 4,961
  • 10
  • 54
  • 95

1 Answers1

7

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:
alditis
  • 4,633
  • 3
  • 49
  • 76