cs2study

mysql software

Code to link mysql.connector

mysql.connector code with PYTHON

Type the following code in the IDLE python shell

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