标签:star comm tar image ase eps unity mysql release
1. wget https://dev.mysql.com/get/mysql80-community-release-el8-1.noarch.rpm 安装Yum Repository
2.for i in $(rpm -qa|grep mysql);do rpm -e $i --nodeps;done 查看是否已经安装过mysql
3.更新 yum update
4.yum install mysql-server ,安装完后会出现 complete!
5. ps -ef | grep mysql,查看是否安装成功
6.登陆Mysql
mysql -uroot -p
7.选择 mysql 数据库
use mysql;
8.查看mysql的运行状态 systemctl status mysqld.service
启动mysql systemctl start mysqld.service
重新启动mysql systemctl restart mysqld.service
标签:star comm tar image ase eps unity mysql release
原文地址:https://www.cnblogs.com/maxy11/p/12462344.html