How to install mysql 8.0 in centos7
Linux450
1.Install with wget tool
yum install wget
2.Download the official rpm package (official address)
wget https://repo.mysql.com//mysql80-community-release-el7-4.noarch.rpm
3.Install local rpm package
yum -y install mysql80-community-release-el7-4.noarch.rpm
4.Install mysql service
yum install mysql-community-server
5.Start mysql service
service mysqld start
6.View mysql status
service mysqld status
7.View mysql initial password
grep 'temporary password' /var/log/mysqld.log
8.Add mysql to self-start at boot
systemctl enable mysqld.service