import mysql.connector

requires installation of http://dev.mysql.com/downloads/connector/python/

or (for ubuntu):

sudo pip install mysql-connector-python --allow-external mysql-connector-python

In [ ]: