Skip to content

Latest commit

 

History

History
57 lines (47 loc) · 1.55 KB

local-install-rpm.md

File metadata and controls

57 lines (47 loc) · 1.55 KB

DOWNLOAD AND LOCAL INSTALL FROM RPMs

INSTALLATION STEPS

STEP 1. DOWNLOAD PERCONA MYSQL 8 REPOSITORY PACKAGE

wget https://repo.percona.com/yum/percona-release-latest.noarch.rpm

STEP 2. DOWNLOAD INDIVIDUAL RPM PACKAGES

wget https://downloads.percona.com/downloads/Percona-Server-LATEST/Percona-Server-8.0.28-20/binary/redhat/7/x86_64/percona-server-server-8.0.28-20.1.el7.x86_64.rpm
wget https://downloads.percona.com/downloads/Percona-Server-LATEST/Percona-Server-8.0.28-20/binary/redhat/7/x86_64/percona-server-client-8.0.28-20.1.el7.x86_64.rpm
wget https://downloads.percona.com/downloads/Percona-Server-LATEST/Percona-Server-8.0.28-20/binary/redhat/7/x86_64/percona-server-shared-8.0.28-20.1.el7.x86_64.rpm
wget https://downloads.percona.com/downloads/Percona-Server-LATEST/Percona-Server-8.0.28-20/binary/redhat/7/x86_64/percona-server-shared-compat-8.0.28-20.1.el7.x86_64.rpm

STEP 3. INSTALL REPO

sudo yum localinstall percona-release-latest.noarch.rpm

STEP 4. ENABLE REPO FOR PERCONA MySQL 8

sudo percona-release setup -y ps80

STEP 5. LOCAL INSTALL ALL PACKAGES

sudo yum localinstall percona-server-*.rpm

STEP 6. VERIFY VERSION OF EACH PACKAGE

rpm -qa | grep -i percona-server

STEP 7. ENABLE MYSQL SERVICE TO AUTO-START ON REBOOT

sudo systemctl enable mysqld.service

STEP 8. START MYSQL SERVICE

sudo systemctl start mysqld.service

STEP 9. CHECK STATUS OF MYSQL SERVICE

systemctl status mysqld

VERIFICATION

pidof mysqld
netstat -ntlp | grep 3306
sudo lsof -u mysql