I had mysql (in python) running in my laptop but after Yosemite was updated it stopped running. I uninstall and install mysql again.
pip install MySQL-python
added it to path:
export DYLD_LIBRARY_PATH=/usr/local/mysql/lib:$DYLD_LIBRARY_PATH
But still it doesn't work.
import MySQLdb as mysql ImportError: No module named MySQLdb
xcode-select --installand then dosudo pip install- ytpillai