Tags
python
Asked 2 years ago
12 Aug 2021
Views 201
Fleta

Fleta posted

Which library is needed for MySQL in Python ?

Which library is needed for MySQL in Python ?
andy

andy
answered Aug 13 '21 00:00

for MySQL in Python , you need mysql and mysqlclient , mysql-connector packages.


to install mysql and mysqlclient , paste below command at terminal and press enter


pip install mysql 


and
to install mysql-connector . paste below command at terminal and press enter


pip install mysql-connector 
Post Answer