[MySQL] 安装
# 安装环境
CentOS Linux release 7.8.2003 (Core)
# 下载yum源
wget http://mirrors.ustc.edu.cn/mysql-repo/mysql57-community-release-el7-8.noarch.rpm
rpm -ivh mysql57-community-release-el7-8.noarch.rpm
# 安装mysql
yum install mysql-server
chown mysql:mysql -R /var/lib/mysql
# 启动MySQL
systemctl enable mysqld --now
# 查看密码
grep 'temporary password' /var/log/mysqld.log
# 修改密码
mysqladmin -uroot -p<初始密码> password <新密码>