MYSQL
设置yum源
[mysql]
name=mysql
baseurl=http://repo.mysql.com/yum/mysql-5.7-community/el/7/$basearch/
enabled=1
gpgcheck=0安装mysql
$ yum -y install mysql-community-server
$ systemctl daemon-reload
$ systemctl start mysqld修改配置
$ grep 'temporary password' /var/log/mysqld.log参考
Last updated