HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to install mysql connector in Windows 10? | Interface Python with MYSQL Class 12

175,464 views September 26, 2020 8:54

Watch on YouTube
ChannelSwati Chawla

Description from the creator

​@SwatiChawlaofficial
How to install mysql connector in Windows 10? | Interface Python with MYSQL Class 12
In this video, you will understand the step by step procedure to install mysql connector in windows 10.
To install MYSQL, plz watch this video:
youtu.be/XJNLw3W7xew

-----------------------------------------------------------------------------------------------------------------------------------------
Troubleshoot Problems:
1. ModuleNotFoundError
After executing pip command successfully, this error will get generated, if you save your Python file with name mysql.
Don't save your python file with name mysql.py
If you have saveed it with name mysql, either rename that file or delete that file and create the new one.

2. Unknown character set: 'utf8mb4'
To resolve this issue, add charset argument in connect ( ) function.
con=mysql.connector.connect(host='localhost',
user='root',
password='12345',
database='employee',
charset='utf8')

About this tutorial

Swati Chawla published this 8:54 video tutorial on September 26, 2020. It has been watched 175,464 times on YouTube.

Category
Education
Duration
8:54
Published
September 26, 2020
Views
175,464
Likes
3,040

Tags

Share

This tutorial in other languages