Installation

_$: apt-get install python-mysqldb
_$: apt-get install libmysqlclient-dev
_$: apt-get install python-dev

If we need to interact with MySQL from a Python program, we need to install the MySQL-python package:

(virtualenv)_$: pip install MySQL-python