<?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>Leo の Blog &#187; slave</title>
	<atom:link href="http://blog.openider.com/archives/tag/slave/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.openider.com</link>
	<description>Where there is a will there is a way! Trust youself can do it!</description>
	<lastBuildDate>Thu, 27 Aug 2009 10:42:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>简单的 MySQL 主从配置.</title>
		<link>http://blog.openider.com/archives/84</link>
		<comments>http://blog.openider.com/archives/84#comments</comments>
		<pubDate>Mon, 15 Jun 2009 10:25:26 +0000</pubDate>
		<dc:creator>Guya</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[master]]></category>
		<category><![CDATA[slave]]></category>
		<category><![CDATA[主从]]></category>

		<guid isPermaLink="false">http://blog.openider.com/?p=84</guid>
		<description><![CDATA[服务器环境 Ubuntu-8.04.2 base-system + 编译环境. 安装 mysql 请参考本站前面系列文章.
数据库服务器Master, 主机名:DB01, IP: 192.168.1.234
数据库服务器Slave, 主机名:DB02, IP: 192.168.1.235
先配置 Master 的 mysql 环境.
修改mysql的配置文件 my.cnf 确保有下面的信息, 没有加上. 有的话修改成下面这样. 其他的可以保持默认配置.
[mysqld]
log-bin = mysql-bin
server-id = 1
#for innodb extra setting.
#innodb_flush_log_at_trx_commit = 1
#sync_binlog = 1
创建测试数据库,数据表.

CREATE DATABASES anjuke
USE anjuke
CREATE TABLE IF NOT EXISTS `tests` &#40;
`id` int&#40;11&#41; NOT NULL AUTO_INCREMENT,
`content` text,
`created` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY &#40;`id`&#41;
&#41; ENGINE=MyISAM  [...]]]></description>
		<wfw:commentRss>http://blog.openider.com/archives/84/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
