Skip to content

How To Install Percona MySQL Server 8 on CentOS 8 / RHEL 8

Just to be sure if your system is up to date:

sudo yum -y update

Add Percona YUM repository

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

Enable repository for MySQL 8.0

sudo percona-release setup ps80

You will be asked to disable RHEL 8 module for MysQL. Allow that.

Install Percona Server for MySQL 8.0

sudo yum install percona-server-server percona-toolkit
sudo percona-release enable-only tools release
sudo yum install percona-xtrabackup-80

Start and secure Percona MySQL Server

sudo systemctl enable mysqld
sudo systemctl start mysqld

Find generated root temporary password

sudo grep "temporary password" /var/log/mysqld.log

After that you can start MySQL installation:

mysql_secure_installation

Comments