一键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_64systemctl restart mysqld
systemctl enable mysqld
sed -ri ‘/^SELINUX=/cSELINUX=disabled’ /etc/selinux/config
systemctl stop firewalld
grep password /var/log/mysqld.log

相关推荐: Centos7配置mysql主从:一主多从

mysql主从复制原理1.首先master将数据更新记录到二进制binlog文件2.slave通过I/O线程向master请求binlog日志文件指定位置之后的内容3.master接收到slave的io请求之后,就会从binlog相应的位置点开始,给slave…

免责声明:本站发布的图片视频文字,以转载和分享为主,文章观点不代表本站立场,本站不承担相关法律责任;如果涉及侵权请联系邮箱:360163164@qq.com举报,并提供相关证据,经查实将立刻删除涉嫌侵权内容。

Like (0)
Donate 微信扫一扫 微信扫一扫
Previous 06/04 17:46
Next 06/04 17:46

相关推荐