一看必会系列:MYSQL5.7 官方YUM安装

No Comments mysql_mariadb

yum install mysql-server
yum list |grep mysql
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum list |grep mysql
yum install mysql-server
rpm -ivh https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm

yum-config-manager –enable mysql57-community

yum-config-manager –disable mysql80-community

yum install mysql-community-server

systemctl start mysqld
netstat -ntlp
grep ‘temporary password’ /var/log/mysqld.log

发表评论