<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[linuxの飘扬]]></title> 
<link>https://www.linuxfly.org/index.php</link> 
<description><![CDATA[Power by www.linuxfly.org]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[linuxの飘扬]]></copyright>
<item>
<link>https://www.linuxfly.org/post/592/</link>
<title><![CDATA[[原]搭建Master-Master Mysql Replication 集群]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[Mysql]]></category>
<pubDate>Tue, 26 Apr 2011 10:24:24 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/592/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;某项目使用Mysql，两台服务器（不带盘柜），要满足高可用需求。一种方式是采用镜像磁盘，另一种方式可考虑构建主备（Master - Slave）或主主（Master - Master）形式的Mysql 集群。这里描述的是第二种方式。<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/mysql/" rel="tag">mysql</a> , <a href="https://www.linuxfly.org/tags/cluster/" rel="tag">cluster</a> , <a href="https://www.linuxfly.org/tags/ha/" rel="tag">ha</a>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/388/</link>
<title><![CDATA[[转]MySQL字符集设定总结]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[Mysql]]></category>
<pubDate>Fri, 01 May 2009 16:35:54 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/388/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;MySQL(4.1以后版本) 服务器中有六个关键位置使用了字符集的概念，他们是：<span style="color: #0000FF;">client 、connection、database、results、server 、system。</span>MySQL有两个字符集概念：一个就是字符集本身，一个是字符集校验规则。字符集影响数据在传输和存储过程中的处理方式，而字符集校验则影响ORDER BY和GROUP BY这些排序方式。<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/character_set/" rel="tag">character_set</a>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/39/</link>
<title><![CDATA[恢复mysql管理员密码]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[Mysql]]></category>
<pubDate>Fri, 30 Dec 2005 09:33:37 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/39/</guid> 
<description>
<![CDATA[ 
	 &nbsp;今日一个错手，把mysql里面user表中的root密码列改错了。里面有大量的数据，不可能重装啊。从网上找了些资料，发现恢复mysql的密码不难。<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/mysql/" rel="tag">mysql</a> , <a href="https://www.linuxfly.org/tags/linux/" rel="tag">linux</a>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/36/</link>
<title><![CDATA[[原]mysql 5.0更新日志的问题]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[Mysql]]></category>
<pubDate>Tue, 27 Dec 2005 06:32:49 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/36/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;昨天做数据库同步的时候，本来想用日志更新的方式做的，后来发现--log-update选项在my.cnf文件里面加入后，不能生效。<br/>&nbsp;&nbsp;到<a href="http://dev.mysql.com/doc/" target="_blank">http://dev.mysql.com/doc/</a>找5.0的文档看了一下，发现mysql5.0的更新树里面有这样一段话：<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content">Removed the update log. It is fully replaced by the binary log. If the MySQL server is started with --log-update, it is translated to --log-bin (or ignored if the server is explicitly started with --log-bin), and a warning message is written to the error log. Setting SQL_LOG_UPDATE silently sets SQL_LOG_BIN instead (or do nothing if the server is explicitly started with --log-bin). </div></div><br/>&nbsp;&nbsp;也就是说，mysql5.0下面已经用--log-bin代替了--log-update，并且my.cnf文件里面如果已经有log-bin定义的话，就会忽略log-update。难怪昨天的操作会不行。<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/linux/" rel="tag">linux</a> , <a href="https://www.linuxfly.org/tags/mysql/" rel="tag">mysql</a>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/35/</link>
<title><![CDATA[[原]同步文件和数据库]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[Mysql]]></category>
<pubDate>Mon, 26 Dec 2005 05:46:58 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/35/</guid> 
<description>
<![CDATA[ 
	 &nbsp;为了防止blog主机出现故障导致文件丢失，我在整理了另外一台后备的服务器，下面就写写如何做它们的同步。<br/> &nbsp;遇到的问题有两个：1、主机是FreeBSD，备机是Linux，使用的命令和路径有不同；2、不单要同步文件，而且要同步mysql数据。<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/redflag/" rel="tag">redflag</a> , <a href="https://www.linuxfly.org/tags/linux/" rel="tag">linux</a> , <a href="https://www.linuxfly.org/tags/mysql/" rel="tag">mysql</a> , <a href="https://www.linuxfly.org/tags/rsync/" rel="tag">rsync</a>
]]>
</description>
</item>
</channel>
</rss>