标签:mysql 工具 ble resources .com 技术 安装 ibm init
sudo apt-get install apache2
sudo easy_install mysql-python sudo apt-get install python-setuptools libapache2-mod-wsgi sudo service apache2 restart sudo apt-get install mysql-server mysql -u root -p sudo apt-get install libapache2-mod-auth-mysql sudo service apache2 restart sudo apt-get install python-setuptools sudo apt-get install libmysqld-dev sudo apt-get install libmysqlclient-dev sudo apt-get install python-dev sudo easy_install mysql-python
测试一下
>>> import MySQLdb /usr/lib/python2.7/dist-packages/pkg_resources/__init__.py:1224: UserWarning: /home/zwq/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable). warnings.warn(msg, UserWarning) >>>
大功告成~
标签:mysql 工具 ble resources .com 技术 安装 ibm init
原文地址:http://www.cnblogs.com/foreverwith/p/6520499.html