ubuntu install MySQLdb

安装

sudo apt-get install python-dev
sudo apt-get install mysql-server
sudo apt-get install libmysqld-dev
pip install mysql-python

你可能感兴趣的:(python,MySQLdb)