import MySQLdb as MSQL pip code example Example: how to install mysql python pip install mysql-connector