centos8安装mySql8
1.安装yum Repositorywget https://repo.mysql.com//mysql80-community-release-el8-1.noarch.rpm2.使用rpm来安装MySQLrpm -ivh mysql80-community-release-el8-1.noarch.rpm3.使用yum安装mysql服务yum install mysql-server4.设置MySQL为开机启动服务(centos8)先查看当前是否为开机服务[root@local