Upgrading MySQL on Linux
You can upgrade to a newer version of MySQL on the Linux server on which Unified Manager is installed to obtain fixes for security vulnerabilities.
Before you begin
You must have root privileges for the Linux system on which Unified Manager is installed.
About this task
You can only upgrade to minor updates of MySQL 5.7, for example, 5.7.1 to 5.7.2 . You cannot upgrade to major versions of MySQL, for example, version 5.8.
Steps
-
Log in as a root user on the Unified Manager host machine.
-
Download the latest MySQL Community Server
.rpmbundle on the target system. -
Untar the bundle to a directory on the target system.
-
You will get multiple
.rpmpackages in the directory after untarring the bundle, but Unified Manager only needs the following rpm packages:-
mysql-community-client-5.7.x
-
mysql-community-libs-5.7.x
-
mysql-community-server-5.7.x
-
mysql-community-common-5.7.x
-
mysql-community-libs-compat-5.7.x Delete all other
.rpmpackages. Installing all packages in an rpm bundle will not cause any problems.
-
-
Stop the Unified Manager service and the associated MySQL software in the order shown:
service ocieau stopservice ocie stopservice mysqld stop -
Invoke the upgrade of MySQL by using the following command:
yum install *.rpm*.rpmrefers to the.rpmpackages in the directory where you downloaded the newer version of MySQL. -
Start Unified Manager in the order shown:
service mysqld startservice ocie startservice ocieau start