Import MySQL database to Heroku with one command… import db.sql
1 min readJan 3, 2020
- Well, first, enable the clearDB add-on from the Heroku dashboard
2. Save this batch script as import.bat
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