Method 1
Unzip file RPM
unzip mysql-commercial-server-8.0.40-1.1.el7.zipRun Installer
yum install *.rpmGet password from temporary
sudo grep 'temporary' /var/log/mysqld.logSecure MySQL Installation
sudo mysql_secure_installation Enter current password for root (enter for none): Set root password? [Y/n] Y New password: Re-enter new password: Do you wish ...? : Y Remove anonymous users? [Y/n] Y Disallow root login remotely? [Y/n] n Remove test database and access to it? [Y/n] Y Reload privilege tables now? [Y/n] YTry login
mysql -uroot -p
Method 2
After you have downloaded the MySQL Enterprise Edition software bundle from the MySQL Enterprise Edition Downloads page on OTR, follow the installation instructions below for your platform.
Oracle Linux /Red Hat Enterprise Linux
Unpack the downloaded tar bundle:
tar xvf mysql-enterprise-<REL_VERSION>_el<VERSION>_<ARCH>_bundle.tar tar xvf mysql-enterprise-9.1.0_el7.tarss:

ss:

Set up a local Yum package repository for easy management of your MySQL Enterprise products and components: Add the MySQL GPG key to your system in order to verify packages at install time:
sudo rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2023ss:

Install utilities that aid in Yum repo setup:
sudo yum install yum-utilsss:

Add the downloaded developer bundles as a local yum repo:
sudo yum-config-manager --add file:///path/to/rpms sudo yum-config-manager --add-repo=file:///media/ss:

[optional] For Oracle/Red Hat Linux 8 only: Disable the MySQL module that comes with your OS distribution:
sudo yum module disable mysqlInstall MySQL Server or any of the products included in the bundle, using any of the following commands:
sudo yum install mysql-commercial-server sudo yum install mysql-commercial-backup sudo yum install mysql-connector-c++-commercial sudo yum install mysql-connector-c++-commercial-jdbc sudo yum install mysql-connector-j-commercial sudo yum install mysql-connector-odbc-commercial sudo yum install mysql-connector-odbc-commercial-setup sudo yum install mysql-connector-python3-commercial sudo yum install mysql-router-commercial sudo yum install mysql-shell-commercialss:

Check if already installed, and completed

Start and enabled service mysql

Find password get from mysqld.log
sudo grep 'temporary' /var/log/mysqld.logSecure MySQL Installation
sudo mysql_secure_installation Enter current password for root (enter for none): Set root password? [Y/n] Y New password: Re-enter new password: Do you wish ...? : Y Remove anonymous users? [Y/n] Y Disallow root login remotely? [Y/n] n Remove test database and access to it? [Y/n] Y Reload privilege tables now? [Y/n] Yss

Test login
mysql -uroot -pss:
