I am getting this message when I use yum install mysql-python to install MySQLdb.
Loaded plugins: fastestmirror
Loading mirror speeds from cache
Thanks guys for all the help but none of them works for me. I found this interesting article on web on how to set up the package for Python 2.6 CentOS 5.5, this works for me.
First, I install some stuffs used to build RPMs
yum -y install rpm-build gcc-c++
And some dependencies
yum -y install readline-devel openssl-devel gmp-devel ncurses-devel
yum -y install gdbm-devel expat-devel libGL-devel libX11-devel tcl-devel tk-devel
yum -y install tix-devel sqlite-devel db4-devel
Grabbed src RPM
rpm -Uvh http://mirrors.geekymedia.com/centos/python26-2.6-geekymedia1.src.rpm
And lastly
yum install -y mysql-devel
curl http://superb-sea2.dl.sourceforge.net/project/mysql-python/mysql-python/1.2.3/MySQL-python-1.2.3.tar.gz | tar zxv
cd MySQL-python-1.2.3
python setup.py build
python setup.py install