I want to install mysql-server 5.6 on RHEL 5.8, but when trying
rpm -i or
rpm -Uvh it complains that I already have version 5.0 on there. I am happy to replace, upgrade or install another instance.
I've done the follow routines and upgraded to Mysql-server 5.5 successfully on CentOS 6.5.
- yum remove mysql mysql-*
- rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
- rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm (choose your relevant Remi repo)
- yum --enablerepo=remi,remi-test install mysql mysql-server
- service mysqld start
- mysql_upgrade -u root -p