upgrade mysql version on linux server

upgrade mysql version on linux server

26
0
SHARE
Linux Reseller Hosting

download mysql backupYou can upgrade your MySQL version from 5.0 to 5.5 by using following steps

1. Enable remi repository for yum

wget http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
sudo rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

2. Run mysqldump to export data out from MySQL 5.0

mysqldump -uroot -p –all-databases > mysqlbackup.sql

3. Run ‘yum –enablerepo=remi install mysql mysql-server mysqlclient’

4. Run mysql_upgrade (part of mysql-server.rpm) to clean up the upgraded package

mysql_upgrade -u root -p

5. Adjust my.cnf (version 5.0) for version 5.5

6. Restart MySQL if needed

Windows Shared Hosting

Our Partner

partner-cloudflare
partner-cloudlinux
partner-cpanel-whm
partner-Paralleles-plesk-panel
partner-sitelock
partners-OpenVZ
R1Soft
partners-RV-Globalsoft
partners-Softaculous-auto-installer
partners-solusvm
partners-whmcs
services-cpanel
services-MySQL
services-Perl
services-swsoft-plesk
support-sevices-php