Tuesday, July 31, 2012

How to Install MySQL 5.5.25a and PHP 5.3 on Centos 6.2



Remove existing MySQL version,mysql-libs,php-mysql


Download the version 6 remi-release and Install


wget http://rpms.famillecollet.com/enterprise/6/remi/x86_64/remi-release-6-1.el6.remi.noarch.rpm

rpm -Uvh remi-release-6-1.el6.remi.noarch.rpm --nodeps

Download and Install MySQL RPM at http://dev.mysql.com/downloads/mysql/#downloads


wget http://dev.mysql.com/get/Downloads/MySQL-5.5/MySQL-server-5.5.25a-1.el6.x86_64.rpm/from/http://na.mirror.garr.it/mirrors/MySQL/
wget http://dev.mysql.com/get/Downloads/MySQL-5.5/MySQL-client-5.5.25a-1.el6.x86_64.rpm/from/http://na.mirror.garr.it/mirrors/MySQL/
wget http://dev.mysql.com/get/Downloads/MySQL-5.5/MySQL-devel-5.5.25a-1.el6.x86_64.rpm/from/http://na.mirror.garr.it/mirrors/MySQL/
wget http://dev.mysql.com/get/Downloads/MySQL-5.5/MySQL-shared-5.5.25a-1.el6.x86_64.rpm/from/http://na.mirror.garr.it/mirrors/MySQL/




rpm -ivh MySQL-server-5.5.25a-1.el6.x86_64.rpm MySQL-client-5.5.25a-1.el6.x86_64.rpm MySQL-devel-5.5.25a-1.el6.x86_64.rpm MySQL-shared-5.5.25a-1.el6.x86_64.rpm

Install the mysql-libs php-mysql via yum


yum --enablerepo=remi install mysql-libs




yum --enablerepo=remi install php-mysql


Note : if its asking for some dependencies just install it.

1 comment:

Sqiar BI said...

Thanks a lot for sharing this with all folks you really recognise what you are talking about! In this complex environment business need to present there company data in meaningful way.Sqiar (http://www.sqiar.com/consultancy/tableau/) which is in UK,provide services like Tableau and Data Warehousing etc .In these services sqiar experts convert company data into meaningful way.

Google