centos6.5安装python-MySQLdb
时间:2017-01-24 02:42 来源:linux.it.net.cn 作者:IT
centos6.5安装python-MySQLdb
命令如下:
-
#yum install python-devel mysql-devel zlib-devel openssl-devel
-
-
#wget <a href="http://downloads.sourceforge.net/project/mysql-python/mysql-python-test/1.2.4b4/MySQL-python-1.2.4b4.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fmysql-python%2F&ts=1364895531&use_mirror=nchc" target="_blank">http://downloads.sourceforge.net/project/mysql-python/mysql-python-test/1.2.4b4/MySQL-python-1.2.4b4.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fmysql-python%2F&ts=1364895531&use_mirror=nchc</a>
-
-
#tar zxvf MySQL-python-1.2.4b4.tar.gz
-
-
#cd MySQL-python-1.2.4b4
-
-
#python setup.py build
-
-
#python setup.py install
安装过程:
python-MySQLdb未安装状态
python-MySQLdb安装成功
python-MySQLdb安装相关命令
(责任编辑:IT)
centos6.5安装python-MySQLdb 命令如下:
安装过程: python-MySQLdb未安装状态 python-MySQLdb安装成功 python-MySQLdb安装相关命令 (责任编辑:IT) |