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. 

https://www.whereisstuff.com/2020/02/how-to-install-mysql-database-and-set.html

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,

Ex:



  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.
Share:

No comments:

Post a Comment

Recent Posts

Service Support

Need our help to Learn or Post New Concepts Contact me