安装mysql

100 阅读1分钟

1.查询是否安装过mysql

 rpm -qa|grep mysql

如果安装过命令卸载

rpm -e xxx(xxx代表要删除的文件全名)

2.具体安装步骤

3.关闭 防火墙

firewall-cmd --state  // 查看防火墙状态
systemctl stop firewalld  // 关闭防火墙

image.png