Installing MySQL via RPM on Linux

Download and Extract 1## Download the compressed package 2wget https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.39-1.el8.x86_64.rpm-bundle.tar 3## Upload to the server 4scp mysql-8.0.39-1.el8.x86_64.rpm-bundle.tar root@your-server:/root 5## Move to the specified directory 6mv mysql-8.0.39-1.el8.x86_64.rpm-bundle.tar /opt 7## Extract 8cd /opt 9tar -xvf mysql-8.0.39-1.el8.x86_64.rpm-bundle.tar After extraction, the following files will be available 1mysql-community-client-8.0.39-1.el8.x86_64.rpm 2mysql-community-server-8.0.39-1.el8.x86_64.rpm 3mysql-community-libs-8.0.39-1.el8.x86_64.rpm 4mysql-community-common-8.0.39-1.el8.x86_64.rpm 5mysql-community-client-plugins-8.0.39-1.el8.x86_64.rpm 6mysql-community-icu-data-files-8.0.39-1.el8.x86_64.rpm Uninstall the system-installed MariaDB (if present) 1rpm … Read more