I installed MySQL and Python with Homebrew on OS X 10.10.5 Yosemite. My Python 2.7 is at python -> ../Cellar/pyth
python -> ../Cellar/pyth
This solved my issue on my case:
$ pip uninstall MySQL-python $ pip install mysqlclient
MySQL-python turned out to be very old (last commit was 7 years ago). mysqlclient is the modern version of it, with lots of improvements and bug fixes.
MySQL-python
mysqlclient