<?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>Techstroke - Technology Gadgets  Blogging Softwares &#187; Python</title>
	<atom:link href="http://www.techstroke.com/coding/python-coding/feed" rel="self" type="application/rss+xml" />
	<link>http://www.techstroke.com</link>
	<description>Technology News Tips &#38; Tricks Social Media Blogging Wordpress</description>
	<lastBuildDate>Sat, 31 Jul 2010 17:17:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to Access MySQL Server through VPN Using Python</title>
		<link>http://www.techstroke.com/how-to-access-mysql-server-through-vpn-using-python.html</link>
		<comments>http://www.techstroke.com/how-to-access-mysql-server-through-vpn-using-python.html#comments</comments>
		<pubDate>Fri, 09 Apr 2010 08:06:14 +0000</pubDate>
		<dc:creator>alok</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[accessing Mysql through VPN]]></category>
		<category><![CDATA[local ip address]]></category>
		<category><![CDATA[MY]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[mysql access through VPN]]></category>
		<category><![CDATA[mysql server]]></category>
		<category><![CDATA[port 3306]]></category>
		<category><![CDATA[Problem]]></category>
		<category><![CDATA[python application]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.techstroke.com/how-to-access-mysql-server-through-vpn-using-python.html</guid>
		<description><![CDATA[&#160; &#160; If you are encountered any problem to access the MYSQLdb server through a VPN with error message: OperationalError: (2003, &#34;Can&#8217;t connect to MySQL server on &#8216;MY_IP&#8217; (10061)&#34;) The simple solution of this problem is: Open a cmd window if you are using Windows replace 192.168.201.1 with the IP or hostname of your mysql [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.techstroke.com%2Fhow-to-access-mysql-server-through-vpn-using-python.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.techstroke.com%2Fhow-to-access-mysql-server-through-vpn-using-python.html&amp;source=techstroke&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>&#160;</p>
<p><a href="http://www.techstroke.com/wp-content/uploads/2010/04/image8.png" ><img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="image" border="0" alt="image" align="right" src="http://www.techstroke.com/wp-content/uploads/2010/04/image_thumb8.png" width="201" height="174" /></a>&#160;</p>
<p>If you are encountered any problem to access the MYSQLdb server through a VPN with error message: </p>
<blockquote><p>OperationalError: (2003, &quot;Can&#8217;t connect to MySQL server on &#8216;MY_IP&#8217; (10061)&quot;)</p>
</blockquote>
<p>The simple solution of this problem is:</p>
<p>Open a cmd window if you are using Windows replace 192.168.201.1 with the IP or hostname of your mysql server. If it&#8217;s blocked you will see something</p>
<p>&#160;</p>
<blockquote><pre><code>$ telnet 192.168.201.1 3306Trying 192.168.201.1...</code></pre>
</blockquote>
<pre><code></code></pre>
<p>and eventually a timeout.</p>
<p>&#160;</p>
<p><span id="more-1288"></span></p>
<p>If you can reach the port then you should see something similar to:</p>
<p>&#160;</p>
<blockquote>
<pre><code>$ telnet 192.168.201.1 3306Trying 192.168.201.1...Connected to 192.168.201.1.Escape character is '^]'.?5.1.37-1ubuntu5.1C[&amp;Elne0d])O5ZG4mKmdConnection closed by foreign host.</code></pre>
<p>  <code></code></p></blockquote>
<blockquote>
<p><code></code></p>
<p>  <code></p>
<pre></pre>
<p>  </code></p></blockquote>
<p>MySQL only allows TCP connections from localhost &#8211; assuming your python application is running on the same machine as MySQL, ensure that your MySQL bindings are to the local IP address, and that there is no firewall on the machine preventing connections on port 3306.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techstroke.com/how-to-access-mysql-server-through-vpn-using-python.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
