MySQL_python下载页面:http://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python
64位下载地址:http://www.lfd.uci.edu/~gohlke/pythonlibs/tugh5y6j/MySQL_python-1.2.5-cp27-none-win_amd64.whl
32位下载地址:http://www.lfd.uci.edu/~gohlke/pythonlibs/tugh5y6j/MySQL_python-1.2.5-cp27-none-win32.whl

使用pip安装whl文件:
pip install MySQL_python-1.2.5-cp27-none-win_amd64.whl
pip.png
import MySQLdb验证成功;
MySQLdb.png

Redhat/CentOS直接pip install MySQL-python debian/ubuntu直接pip install MySQL-python 即可·

如有error: command 'gcc' failed with exit status 1 类似报错,需安装python-devel
即yum install python-devel。

带符号 * 的表示必填项