My Oracle Support Banner

How to Upgrade MySQL Server Using RPMs (Doc ID 1991640.1)

Last updated on NOVEMBER 23, 2017

Applies to:

MySQL Server - Version 4.0 and later
Generic Linux

Goal

Upgrade MySQL Server using RPM, between major versions or patch releases.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Pre-requisites
 Read "How to Upgrade MySQL Server" documents first
 Check the compatibility between versions
 Upgrade procedure
 1- Backup first
 2- Stop Server
 3- Upgrade Server
 Upgrade to version 5.6 or before
 Upgrade to version 5.7
 4- Start Server (if not already started before)
 5- Run mysql_upgrade
 6- Verify the server tables and data
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.