Install python-mysqldb module in centos
Centos6.5 install python-MySQLdb
The command is as follows:
View plainprint?
- # Yuminstallpython-develmysql-develzlib-developenssl-devel
- # Wget <ahref = "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 % 2 Fprojects % 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 % 2 Fprojects % 2Fmysql-python % 2F & ts = 1364895531 & use_mirror = nchc </a>
- #TarzxvfMySQL-python-1.2.4b4.tar.gz
- # CdMySQL-python-1.2.4b4
- # Pythonsetup. pybuild
- # Pythonsetup. pyinstall
Installation Process:
Python-MySQLdb Not Installed
Python-MySQLdb installed successfully
Python-MySQLdb installation commands