DEV Community

Discussion on: Connecting MySQL Database to Python Flask Application

Collapse
 
jelili profile image
Jelili Ayorinde

Teaching and tutoring has a method if you want your audience to learn, not introduce or apply right teaching methodology makes learning difficult for your intended audience. Explaining your exercise in steps brings clarity to your explanations and arrest your audience's attention to follow your tutorial to the end. Here in your tutorial, you only import MySQL connector, we don't know whether MySQL itself need to be imported, just like when you are using sqlite3 in python, you will need to import sqlite3 itself before any connection would be established, and subsequently querying database actions could start. I am not seeing that fully in your lecture.

Collapse
 
ayushdev_24 profile image
Ayush Agarwal

Thank You for mentioning it Jelili. Yes, I get your point and admit it's a mistake from my end. I will try to imrpove from next time and hopefully will bring better articles.

Thanks for taking out time and reading it.