MySQL 8.4.x on RHEL 8+
This article provides a detailed procedure for installing and configuring MySQL 8.4.x on Red Hat Enterprise Linux (RHEL) 8 or 9 systems. It includes prerequisites, installation steps, initial setup, and recommended performance tuning parameters as per OvalEdge guidelines.
Prerequisites
Ensure the following conditions before starting the installation:
A virtual machine (VM) or server running RHEL 8.x or 9.x
A user account with sudo privileges
An active internet connection is required to download packages
SELinux and firewall considerations (adjust as per your security policies)
Installation Steps
System Update
Update the system packages.
sudo yum update -ySample Reference Screenshot:
Install Required Utilities
Install
yum-utilsto manage repositories.
Configure MySQL Repository
Download and install the official MySQL 8.4 repository RPM.
For RHEL 8:
For RHEL 9:
Sample Reference Screenshot:
Disable Default MySQL Module
Disable the default MySQL module to avoid conflicts.
Sample Reference Screenshot:
Install MySQL Server
Install the MySQL community server package.
Sample Reference Screenshot:
Start and Enable MySQL Service
Start the MySQL service and enable it to run at boot.
Sample Reference Screenshot:
Verify the installed version:
Sample Reference Screenshot:
Retrieve Temporary Root Password
Check the MySQL log to retrieve the temporary root password.
Sample Reference Screenshot:
Secure MySQL Installation
Log in to MySQL and configure the root account.
Sample Reference Screenshot:
Run the following SQL commands:
Sample Reference Screenshot:
Apply Recommended Configuration
Edit the MySQL configuration file:
Append or update the following parameters:
Sample Reference Screenshot:
Restart MySQL Service
Apply the configuration changes by restarting the MySQL service.
Sample Reference Screenshot:
OvalEdge Database Creation
Import OvalEdge Schema
Place the
MasterScripts.sqlfile (provided by the OvalEdge team) in the MySQL VM. Sample Reference Screenshot:Connect to MySQL:
Sample Reference Screenshot:
Run the script:
Verify Database Creation
Check if the OvalEdge database has been created:
Sample Reference Screenshot:
Expected output should include:
ovaledgedb
Copyright © 2025, OvalEdge LLC, Peachtree Corners, GA, USA.
Last updated
Was this helpful?

