<?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>Erick &#187; mysql远程连接</title>
	<atom:link href="http://blog.xiongchuan.org/tag/mysql-remote-connection/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.xiongchuan.org</link>
	<description>Even a great life is only a life until you make it.</description>
	<lastBuildDate>Thu, 10 Mar 2011 14:44:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	
<!-- Start Of Script Generated By WP-PostViews Plus -->
<script type='text/javascript' src='http://blog.xiongchuan.org/wp-includes/js/jquery/jquery.js?ver=1.4.4'></script>
<script type="text/javascript">
/* <![CDATA[ */
/* ]]> */
</script>
<!-- End Of Script Generated By WP-PostViews Plus -->
	<item>
		<title>无法远程连接mysql的问题,已经解决</title>
		<link>http://blog.xiongchuan.org/mysql-remote-conncet-resolve.html</link>
		<comments>http://blog.xiongchuan.org/mysql-remote-conncet-resolve.html#comments</comments>
		<pubDate>Tue, 22 Sep 2009 03:57:15 +0000</pubDate>
		<dc:creator>Erick</dc:creator>
				<category><![CDATA[Linux相关]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysql远程连接]]></category>

		<guid isPermaLink="false">http://www.pigblog.net/?p=246</guid>
		<description><![CDATA[最近的工作，需要连接远程mysql，平时都是在本地搞，遇到问题了，现在记录下来。 本文转载http://www.51testing.com/?uid-27242-action-viewspace-itemid-84886 解决Mysql无法远程连接的问题 1、Mysql的端口是否正确，通过netstat -ntlp查看端口占用情况，一般情况下端口是3306。在用工具连接MySQl是要用到端口。例如My Admin\My Query Browser\MySQl Front等。 2、检查用户权限是否正确。 例如：用户Tester,user表里有两条记录：host分别为localhost和%(为了安全，%可以换成你需要外部连接的IP)。 3、查看/etc/my.cnf中,skip-networking 是否已被注掉,需要注掉。（这是我遇到的问题） 报错：ERROR 2003 (HY000): Can&#8217;t connect to MySQL server on &#8217;192.168.1.3&#8242; (10061) 4、查看iptables是否停掉,没关的情况下,无法连接。 通过：service iptables stop临时关闭。 报错：ERROR 2003 (HY000): Can&#8217;t connect to MySQL server on &#8217;192.168.1.3&#8242; (10065) 补充：除了关闭防火墙，也可以往防火墙里写tcp 3306端口，新手建议采用上面的方法，高手当然会管理防火墙了。下面的链接是我学习的的链接。 http://hi.baidu.com/richardlee007/blog/item/c0bbb186a7474f3667096eaf.html Most Commented Posts发一个dedeEIMS企业模板Guestbook博客终于恢复啦MySQL Can&#8217;t find messagefile,解决方法2010沉默几天武汉的这个六月搬家啦,上班不怕迟到了……About]]></description>
			<content:encoded><![CDATA[<p>最近的工作，需要连接远程mysql，平时都是在本地搞，遇到问题了，现在记录下来。<strong><br />
本文转载</strong>http://www.51testing.com/?uid-27242-action-viewspace-itemid-84886<br />
<strong>解决Mysql无法远程连接的问题</strong></p>
<blockquote><p>1、Mysql的端口是否正确，通过netstat -ntlp查看端口占用情况，一般情况下端口是3306。在用工具连接MySQl是要用到端口。例如My Admin\My Query Browser\MySQl Front等。</p>
<p>2、检查用户权限是否正确。<br />
例如：用户Tester,user表里有两条记录：host分别为localhost和%(为了安全，%可以换成你需要外部连接的IP)。</p>
<p>3、<span style="color: #ff0000;">查看/etc/my.cnf中,skip-networking 是否已被注掉,需要注掉。</span>（这是我遇到的问题）<br />
报错：ERROR 2003 (HY000): Can&#8217;t connect to MySQL server on &#8217;192.168.1.3&#8242; (10061)</p>
<p>4、查看iptables是否停掉,没关的情况下,无法连接。<br />
通过：service iptables stop临时关闭。<br />
报错：ERROR 2003 (HY000): Can&#8217;t connect to MySQL server on &#8217;192.168.1.3&#8242; (10065)<br />
补充：除了关闭防火墙，也可以往防火墙里写tcp 3306端口，新手建议采用上面的方法，高手当然会管理防火墙了。下面的链接是我学习的的链接。</p>
<p>http://hi.baidu.com/richardlee007/blog/item/c0bbb186a7474f3667096eaf.html</p>
</blockquote>
<h4  class="entry-title">Most Commented Posts</h4><ul class="related_post"><li><a href="http://blog.xiongchuan.org/an-enterprise-theme-for-dedeeims.html" title="发一个dedeEIMS企业模板">发一个dedeEIMS企业模板</a></li><li><a href="http://blog.xiongchuan.org/guestbook" title="Guestbook">Guestbook</a></li><li><a href="http://blog.xiongchuan.org/blog-recovery-again.html" title="博客终于恢复啦">博客终于恢复啦</a></li><li><a href="http://blog.xiongchuan.org/cant-find-messagefile-resolve.html" title="MySQL Can&#8217;t find messagefile,解决方法">MySQL Can&#8217;t find messagefile,解决方法</a></li><li><a href="http://blog.xiongchuan.org/2010-bad-day.html" title="2010沉默几天">2010沉默几天</a></li><li><a href="http://blog.xiongchuan.org/these-days-in-wuhan.html" title="武汉的这个六月">武汉的这个六月</a></li><li><a href="http://blog.xiongchuan.org/move-house.html" title="搬家啦,上班不怕迟到了……">搬家啦,上班不怕迟到了……</a></li><li><a href="http://blog.xiongchuan.org/about" title="About">About</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://blog.xiongchuan.org/mysql-remote-conncet-resolve.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

