#!/bin/bashyum -y install wgetwget https://dev.Mysql.com/get/mysql57-commUnity-release-el7-11.noarch.rp
#!/bin/bash
yum -y install wget
wget https://dev.Mysql.com/get/mysql57-commUnity-release-el7-11.noarch.rpm
yum -y install mysql57-community-release-el7-11.noarch.rpm
yum makecache
yum -y install mysql-community-server.x86_64
systemctl restart mysqld
systemctl enable mysqld
sed -ri '/^SElinux=/cSELINUX=disabled' /etc/selinux/config
systemctl stop firewalld
grep passWord /var/log/mysqld.log
--结束END--
本文标题: 一键yum安装mysql
本文链接: https://www.lsjlt.com/news/41878.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-04-30
2024-04-30
2024-04-30
2024-04-30
2024-04-30
2024-04-30
2024-04-30
2024-04-30
2024-04-30
2024-04-30
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0