一键yum安装mysql
#!/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
成都创新互联主要从事成都做网站、网站设计、外贸营销网站建设、网页设计、企业做网站、公司建网站等业务。立足成都服务牡丹,10年网站建设经验,价格优惠、服务专业,欢迎来电咨询建站服务:028-86922220
systemctl restart mysqld
systemctl enable mysqld
sed -ri '/^SELINUX=/cSELINUX=disabled' /etc/selinux/config
systemctl stop firewalld
grep password /var/log/mysqld.log
新闻名称:一键yum安装mysql
分享网址:http://scjbc.cn/article/ggisds.html