1. 官网下载对应的rpm

  1. 本地装置
    yum localinstall mysql80-community-release-el7-3.noarch.rpm
  2. 装置server
    yum install mysql-community-server -y