Mysqldb module in python for DB connection

Hello Itversity team,

Can you please install needed package to connect mysql db from python.
I needed it to practice some python project.

For example, something like below:
pip install MySQL-python
pip install mysql-connector-python
pip install pymysql

I already checked these post and looks like this issue is not resolved.


We have installed the required modules you can continue your practice now

Thank you Sunil for your quick response. Although, I am unable to import the package. I am still getting these errors. Can you please explain what am I doing wrong and what is the best way to connect. Thanks