Import MySQL database to Heroku with one command… import db.sql 1.Well, first, enable the clearDB add-on from the Heroku dashboard 2. Save this batch script as import.bat raw 3. Dump the local database in db.sql 4. In the heroku app directory, run #import db.sql 5. All info is stored in config.txt Good luck. Source : link