Flask_MySQL Simple Project Featuring One to One, Many to Many type of relationships and Using MYSQL or SQLite database To use Local MYSQL Server set the environment variable DATABASE_URL to mysql+pymysql://username:password@localhost/db_name