cs2study

MySQL

MySQL Connector

To link mysql.connector , code :-

Type the following code in the IDLE python shell

>>>import subprocess
>>>import sys
>>> subprocess.check_call([sys.executable, “-m”, “pip”, “install”, “mysql-connector-python”])