1.下载rpm安装包
官网: https://downloads.mysql.com/archives/community/
2.使用xshell把安装包传输到linux中
3.在linux中开始解压
[root@localhost ~]# tar xf mysql-5.7.30-1.el7.x86_64.rpm-bundle.tar
4.使用yum安装
[root@localhost ~]# yum install mysql-community-* -y
5.启动
[root@localhost ~]# service mysqld start
·如何判断一个服务器是否启动了
1.看进程
[root@localhost