<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>https://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>https://jackxiang.com/post//</link>
<title><![CDATA[[实践OK]正常关闭mysql从之正确关闭slave取消主从同步，机房迁移，原机房的从Mysql不再需要，主服务器也不存在此IP了，取消从服务器同步配置并关闭从。]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[数据库技术]]></category>
<pubDate>Mon, 03 Feb 2020 14:29:44 +0000</pubDate> 
<guid>https://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	背景：机房迁移，原机房的从Mysql不再需要，主服务器也不存在此IP了，取消从服务器同步配置并关闭从。<br/><textarea name="code" class="php" rows="15" cols="100">
stop slave;&nbsp;&nbsp;
reset slave;
change master to master_host=&#039; &#039;; 
</textarea><br/><br/><br/>mysql正确关闭slave取消主从同步<br/>mysql&gt; stop slave;&nbsp;&nbsp;<br/>Query OK, 0 rows affected (0.02 sec)<br/><br/>reset slave;<br/>change master to master_host=&#039; &#039;;&nbsp;&nbsp;#master_host=&#039; &#039; 里面必须有内容，即使为空，也应该用空格代替，而不能什么都不写。<br/><br/>实践如下：<br/><textarea name="code" class="php" rows="15" cols="100">
mysql&gt; stop slave;&nbsp;&nbsp;
Query OK, 0 rows affected (0.02 sec)

mysql&gt; reset slave;
Query OK, 0 rows affected (0.08 sec)

mysql&gt; change master to master_host=&#039; &#039;;
Query OK, 0 rows affected (0.17 sec)

mysql&gt; show slave status&#92;G;
</textarea><br/><br/>参考：https://blog.csdn.net/guoshaoliang789/article/details/86217508
]]>
</description>
</item><item>
<link>https://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [实践OK]正常关闭mysql从之正确关闭slave取消主从同步，机房迁移，原机房的从Mysql不再需要，主服务器也不存在此IP了，取消从服务器同步配置并关闭从。]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>