It's been a while since I've done this so you might need to check that the format hasn't changed but remote databases in heroku are done through environment variables.
Try something like:
heroku config:add DATABASE_URL=mysql://username:password@serveraddress:3306/databasename