First install Mysqlconnector python
for windows by searching in google
and install the first one by clicking its
link
3.
Go to pythonIDLE 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)