centOS下安装python MySQLdb
centOS下安装python MySQLdb的惨痛教训
cnetOS下为python安装MySQLdb模块,以便使用python连接MySQL。
安装MySQL前需python-devel、mysql-devel、zlib-devel、openssl-devel的支持,
centOS 下 键入yum python-devel mysql-devel zlib-devel openssl-devel,进行安装
使用wget下载MySQL-python-1.2.4b4.tar.gz
(放到个人服务器上了,www.lizhiwen.xyz/files/MySQL-python-1.2.4b4.tar.gz)
解压 tar zxvf MySQL-python-1.2.4b4.tar.gz
进入目录 cd MySQL-python-1.2.4b4
安装
python setup.py build
python setup.py install
相关推荐
Yasin 2020-02-13
LucyGill 2015-02-24
暗夜之城 2020-06-01
retacnyue 2020-04-15
joyjoy0 2020-04-14
azhou 2019-12-27
kuwoyinlehe 2019-12-26
cyhgogogo 2019-12-10
txt 2019-10-22
SuperITPro 2019-09-06
sofast 2019-09-05
LinuxCard 2015-02-25
boxifeng 2010-11-17
manongpengzai 2019-06-27
JasonYeung 2019-06-28
bcbeer 2014-01-06
西瓜皮儿的皮儿 2009-03-21
山顶冻人 2019-06-12
Code 2019-03-17