Preqrequsite:
It’s better to have installed development tools and disable NetworkManager for a produciton envrionment. You can optionally follow the steps-
Disabling NetworkManager:
systemctl stop NetworkManager
systemctl disable NetworkManager
Install Development Tools:
yum group install "Development Tools"
Remove MariaDB pre-installed libraries-
yum -y remove mariadb-libs
Enable MySQL Repository
First of all, You need to enable MySQL 5.7 community release yum repository on your system. The rpm packages for yum repository configuration are available on MySQL’s official website.
First of all, import the latest MySQL GPG key to your system.
sudo rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
Now, use one of the below commands to configure the Yum repository as per your operating system version. Continue reading “Install MySQL 5.7 on CentOS 7” »