@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:
https://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')
Download
0 formats
No download links available.
How to install mysql connector in Windows 10? | Interface Python with MYSQL Class 12 | NatokHD