<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>系统运维 &#187; mysql双机热备</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/mysql%E5%8F%8C%E6%9C%BA%E7%83%AD%E5%A4%87/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Tue, 14 Apr 2026 10:59:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MySQL数据库配置主从服务器实现双机热备实例教程</title>
		<link>https://www.osyunwei.com/archives/3290.html</link>
		<comments>https://www.osyunwei.com/archives/3290.html#comments</comments>
		<pubDate>Sun, 25 Mar 2012 17:32:12 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[主从架构]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql主从]]></category>
		<category><![CDATA[mysql双机热备]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=3290</guid>
		<description><![CDATA[网站：bbs.osyunwei.com 程序在：Web服务器192.168.21.129上面 数据库在：MySQL服务器192.168.21.169上面 实现目的：增加一台MySQL备份服务器（192.168.21.168），做为MySQL服务器（192.168.21.169）的从服务器，这两台MySQL服务器之间实现双机热备。 即：从服务器（192.168.21.168）上面指定的数据库永远与主服务器（192.168.21.169）上面指定的数据库保持同步，并且随着主服务器（192.168.21.169）上面指定的数据库的变化而变化。 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容版权所有,转载请注明出处及原文链接 环境说明 1、Web服务器 系统：CentOS 6.2 IP：192.168.21.129 Web环境：apache+php 2、MySQL主服务器 系统：CentOS 6.2 IP：192.168.21.169 主机名称：MySQLMaster MySQL版本：mysql-5.5.22 3、MySQL从服务器 系统：CentOS 6.2 IP：192.168.21.168 主机名称：MySQLSlave MySQL版本：mysql-5.5.22 4、客户机 系统：Windows 7 IP：192.168.21.130 备注：作为主从服务器的MySQL版本建议使用同一版本！或者必须保证主服务器的MySQL版本要高于从服务器的MySQL版本（MySQL版本是向下兼容的） ####################################################################################### 教程开始： 一、安装MySQL 说明：在两台MySQL服务器192.168.21.169和192.168.21.168上分别进行如下操作，安装MySQL 5.5.22 1、配置防火墙，开启MySQL默认3306端口 vi /etc/sysconfig/iptables   #编辑防火墙配置文件 -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT /etc/init.d/iptables [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/3290.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/3290.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
