Manually configuring the MySQL repository

Contributors netapp-manini

If the system on which you are installing Unified Manager does not have access to the MySQL Community Edition repository, then you must manually download and configure the repository for a successful installation.

The MySQL repository provides access to the required MySQL software that must be installed on your system.

Note

This task might fail if the system does not have Internet connectivity. Refer to the MySQL documentation if the system on which you are installing Unified Manager does not have Internet access.

Steps
  1. Download the appropriate MySQL repository for your installation. For Red Hat Enterprise Linux 7, download it from:

    wget http://repo.mysql.com/yum/mysql-8.0-community/el/7/x86_64/mysql80-community-release-el7-3.noarch.rpm

    For version 8, download it from:

    wget http://repo.mysql.com/yum/mysql-8.0-community/el/8/x86_64/mysql80-community-release-el8-1.noarch.rpm

  2. Configure the MySQL repository:

    yum install mysql80-community-release-<version>.noarch.rpm

For Red Hat Enterprise Linux 8 system, if you have internal repositories with java-11-openjdk, p7zip, and other software packages provided by the AppStream repository, you must disable your AppStream repository and install MySQL Community Server. Run the following command:

# sudo yum --disablerepo=rhel-8-for-x86_64-appstream-rpms install  mysql-community-server

If you receive an error on missing key or key mismatch, and your installation fails, try these steps:

  • On a connected system, import the updated MySQL key by running the following command:

rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-<xxxx>

for example:

rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
  • On a system that does not have internet connectivity, update your MySQL repo file and disable gpgcheck by marking gpgcheck=0.