This document can be used in following scenarios :
- MySQL Major version upgrade RPM based
- MySQL Minor version upgrade RPM based
- MySQL Security Patch apply RPM based
In this tutorial, we will upgrade MYSQL instance 5.6.24 installed using RPM in blog (Install MYSQL 5.6 using RPM on Linux server) to new version MYSQL 5.6.35
Quick High Level steps:
- Backup database - I used MEB(3.12) but Mysqldump or a cold backup is okay
- Shutdown the database cleanly.
- Upgrade the binaries (rpm -Uvh) Start the database
- Run mysql_upgrade for new release.
Detailed Low level steps:
rpm –qa |grep –i “mysql” /*To check current installed RPM*/
rpm –Uvh MySQL-client-advanced-5.6.34-1.el6.x86_64.rpm /*Client Upgrade*/
rpm –Uvh MySQL-server-advanced-5.6.34-1.el6.x86_64.rpm /*Server Upgrade*/
/etc/init.d/mysql start
mysql_upgrade -uroot -pgoogle@123
No comments:
Post a Comment