- Install wget command to download files from the Internet
-
Delete /var/run/yum.pid in the first step, if you do not encounter the above situation, you can ignore it.
-
Download the repo source of mysql
- Install the mysql-community-release-el7-5.noarch.rpm package
- Install mysql