How do I connect to a remote MySQL db using Flask Application Factory and Peewee FlaskDB

Solution
pip install pymysql