Interface Python with MySQL
First install Mysql connector python
for windows by searching in google
and install the first one by clicking its
link
Go to python IDLE and click File 🡪 open.
Find the path of the Scripts(Refer next
slide)
Open cmd prompt and go to the required
script path
Then type
python –m pip install mysql-connector
If it ask for upgradation type the required
text
(Refer screenshot)
SCRIPT PATH
Create database and table in mysql
Insert 5 records
Open python and type the required content
Run and find the output

INSTALL_PIP.pptx.pdf.python with MySQL class 12