2017年8月18日

摘要: Slave_SQL_Running: No mysql同步故障解决 今天检查数据库发现一台MySQL Slave未和主机同步,查看Slave状态:mysql> show slave status\GSlave_IO_Running: YesSlave_SQL_Running: NoLast_Errn 阅读全文
posted @ 2017-08-18 20:36 zhangzongshan 阅读(615) 评论(0) 推荐(0) 编辑
摘要: CentOS 7不带Mysql数据库了,默认的数据库是MariaDB(Mysql的一个分支)。 可以按照以下步骤手动安装Mysql数据库。 1. 下载rpm安装文件 ? 1 wget http://repo.mysql.com/mysql-community-release-el7.rpm ? 1 阅读全文
posted @ 2017-08-18 16:13 zhangzongshan 阅读(1564) 评论(0) 推荐(0) 编辑
摘要: CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。1、关闭firewall:systemctl stop firewalld.servicesystemctl disable firewalld.servicesystemctl mask firewalld 阅读全文
posted @ 2017-08-18 15:55 zhangzongshan 阅读(256) 评论(0) 推荐(0) 编辑

导航