Ref:
- Remove old version
yum remove mysql mysql-devel mysql-server mysql-libs
- Download the needed packages from
#downloads
Download URL varies depending on download mirror
mkdir mysql cd mysql MySQL-client-5.5.27-1.el6.x86_64.rpm MySQL-shared-5.5.27-1.el6.x86_64.rpm MySQL-devel-5.5.27-1.el6.x86_64.rpm MySQL-server-5.5.27-1.el6.x86_64.rpm MySQL-shared-compat-5.5.27-1.el6.x86_64.rpm #install rpm var/log/mysql var/log/mysql #start MySQL /etc/init.d/mysql start usr/bin/mysqladmin -u root -h centos6.vmware.local password 'new-password'
- configure mysql more info
vi /etc/my.cnf