How to install pymysql and set it configurations

PyMysql installation steps:

Step 1: First you must install MySQL. If you do not install then click the below link to install the MySQL database.

Step 2: Set the environment variable for python. Following steps,

In window 7,

Step 3: Install pymysql, Open cmd and go to your python installer place.

Give command like,


  1. cd C:\Users\KUMAR\AppData\Local\Programs\Python\Python38-32\Scripts
  2. pip install pymysql
  3. enter
Now we can use import pymysq package in python.

No comments:

Post a Comment

Recent Posts

Service Support

Need our help to Learn or Post New Concepts Contact me