# create heroku reposheroku create files-examplesheroku stack:set container# when add addons, remind to config you billing card in heroku [important]# add mysql addonsheroku addons:create cleardb:ignite# get mysql connection urlheroku config| grep CLEARDB_DATABASE_URL# will echo => DATABASE_URL: mysql://xxxxxxx:xxxxxx@xx-xxxx-east-xx.cleardb.com/heroku_9ab10c66a98486e?reconnect=true# set mysql database urlheroku config:set DATABASE_URL='mysql://xxxxxxx:xxxxxx@xx-xxxx-east-xx.cleardb.com/heroku_9ab10c66a98486e?reconnect=true'# add heroku.js to src/db/config folder# use the DATABASE_URL which you get form prev step to config the js filemodule.exports = { HOST:'xx-xxxx-east-xx.cleardb.com', USER:'xxxxxxx', PASSWORD:'xxxxxx', DATABASE:'heroku_9ab10c66a98486e',};# push source code to remotegit push heroku master