Loading...
Real Time Concepts

How To Update MYSQL FROM 5.1 TO 5.5 In Centos 6

rpm -qa | grep mysql

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

vi /etc/yum.repos.d/remi.repo

[remi]
name=Remi’s RPM repository for Enterprise Linux 6 – $basearch
#baseurl=http://rpms.remirepo.net/enterprise/6/remi/$basearch/
mirrorlist=http://rpms.remirepo.net/enterprise/6/remi/mirror
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

yum -y update mysql*

Once that’s done, we can verify:

rpm -qa | grep mysql

Leave a Reply

Your email address will not be published. Required fields are marked *