How to access MySql DB created on Pythonanywhere

Can my application running on heroku access the mysql DB on pythonanywhere??

You can't access MySQL databases from outside PythonAnywhere if you have a free account. Paid accounts can access the database, but you'd need to use SSH tunnelling -- I don't know if that's possible from Heroku.