I have a sql file that I want to be dumped into a MySQL database that I have in Heroku using the ClearDB addon. When dumping in local I do the following:
mysql
I try all the answers above, but none work.
Then I read this, and I conclude that I need to try it on CMD (previously I use Windows PowerShell admin).
No more errors in code.
I used this code (provided in the previous comment)
mysql -h us-xxxxxx.cleardb.com -u b7xxxxxxx -p heroku_df32xxxxxxx < dbname.sql