<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Access Your MySQL Server Remotely Over SSH</title>
	<atom:link href="http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/</link>
	<description>Computer Help from your Friendly How-To Geek</description>
	<lastBuildDate>Sun, 22 Nov 2009 04:23:14 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ted</title>
		<link>http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/comment-page-1/#comment-79865</link>
		<dc:creator>ted</dc:creator>
		<pubDate>Thu, 12 Nov 2009 11:40:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/#comment-79865</guid>
		<description>Hello I use the freeware &quot; myentunnel&quot;  http://nemesis2.qx.net/pages/MyEnTunnel : it uses Plink ( putty) to create forwarded link and well it&#039;s GUI so it&#039;s easy to use, save configuration, use private key file.  For mysql all you have to do is to write : 3306:localhost:3306  in the tunnel section under &quot;local&quot; .So now I can connect to my remote server to connect my database server and everything between me and the server is encrypted. But there is also another way for those who dont want any trouble: to use my-en-tunnel ( well putty if you have time to waste) and a software like www.proxifier.com : it will automaticly redirect any application on any ports to the ssh tunnel. this is great because you dont even have to setup any ports: whatever it&#039;s mail, web, ftp : it translate it to myentunnel which pass all this encrypted to your server and of course same thing the other way.</description>
		<content:encoded><![CDATA[<p>Hello I use the freeware &#8221; myentunnel&#8221;  <a href="http://nemesis2.qx.net/pages/MyEnTunnel" rel="nofollow">http://nemesis2.qx.net/pages/MyEnTunnel</a> : it uses Plink ( putty) to create forwarded link and well it&#8217;s GUI so it&#8217;s easy to use, save configuration, use private key file.  For mysql all you have to do is to write : 3306:localhost:3306  in the tunnel section under &#8220;local&#8221; .So now I can connect to my remote server to connect my database server and everything between me and the server is encrypted. But there is also another way for those who dont want any trouble: to use my-en-tunnel ( well putty if you have time to waste) and a software like <a href="http://www.proxifier.com" rel="nofollow">http://www.proxifier.com</a> : it will automaticly redirect any application on any ports to the ssh tunnel. this is great because you dont even have to setup any ports: whatever it&#8217;s mail, web, ftp : it translate it to myentunnel which pass all this encrypted to your server and of course same thing the other way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billy</title>
		<link>http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/comment-page-1/#comment-77878</link>
		<dc:creator>Billy</dc:creator>
		<pubDate>Thu, 15 Oct 2009 22:25:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/#comment-77878</guid>
		<description>I did everything the article mentioned *except* 

1. I changed &quot;localhost&quot; to &quot;127.0.0.1&quot; (thanks Rene)
2. I avoided 3306 for my local port since I have mysql already running locally on that port (thanks Sazwqa)

This approach worked for me.</description>
		<content:encoded><![CDATA[<p>I did everything the article mentioned *except* </p>
<p>1. I changed &#8220;localhost&#8221; to &#8220;127.0.0.1&#8243; (thanks Rene)<br />
2. I avoided 3306 for my local port since I have mysql already running locally on that port (thanks Sazwqa)</p>
<p>This approach worked for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: skyboysea</title>
		<link>http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/comment-page-1/#comment-69659</link>
		<dc:creator>skyboysea</dc:creator>
		<pubDate>Thu, 02 Apr 2009 04:00:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/#comment-69659</guid>
		<description>If you use the following command you force mysql to use TCP instead of a socket and you don&#039;t need to have mysqld running on the local computer.

mysql --port=1234 --protocol=TCP -u username -p</description>
		<content:encoded><![CDATA[<p>If you use the following command you force mysql to use TCP instead of a socket and you don&#8217;t need to have mysqld running on the local computer.</p>
<p>mysql &#8211;port=1234 &#8211;protocol=TCP -u username -p</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kslat3r</title>
		<link>http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/comment-page-1/#comment-69228</link>
		<dc:creator>kslat3r</dc:creator>
		<pubDate>Wed, 25 Mar 2009 19:14:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/#comment-69228</guid>
		<description>Rene:

Thanks a lot! Solved my problem</description>
		<content:encoded><![CDATA[<p>Rene:</p>
<p>Thanks a lot! Solved my problem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rene</title>
		<link>http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/comment-page-1/#comment-68821</link>
		<dc:creator>Rene</dc:creator>
		<pubDate>Thu, 19 Mar 2009 09:59:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/#comment-68821</guid>
		<description>Could it be that MySQL Query browser is using the command line tool mysql? If I try with 

telnet localhost 3300 

I get the version number of the remote MySQL server. So the port forward and connection are OK. 
T
hen I try: 

mysql --host=localhost --port=3300 --user=username --password=mypw database

And I get the same: 
ERROR 2002 (HY000): Can&#039;t connect to local MySQL server through socket &#039;/var/lib/mysql/mysql.sock&#039; (2)

But when I activate my local MySQL server I get: 

ERROR 1045 (28000): Access denied for user &#039;username&#039;@&#039;localhost&#039; (using password: YES)

Then I tried: 
mysql --host=127.0.0.1 --port=3300 --user=username --password=mypw database

And it connected correctly!

Conclusion: the mysql tool always connects through a socket when you use localhost and MySQL Query Browser does the same.</description>
		<content:encoded><![CDATA[<p>Could it be that MySQL Query browser is using the command line tool mysql? If I try with </p>
<p>telnet localhost 3300 </p>
<p>I get the version number of the remote MySQL server. So the port forward and connection are OK.<br />
T<br />
hen I try: </p>
<p>mysql &#8211;host=localhost &#8211;port=3300 &#8211;user=username &#8211;password=mypw database</p>
<p>And I get the same:<br />
ERROR 2002 (HY000): Can&#8217;t connect to local MySQL server through socket &#8216;/var/lib/mysql/mysql.sock&#8217; (2)</p>
<p>But when I activate my local MySQL server I get: </p>
<p>ERROR 1045 (28000): Access denied for user &#8216;username&#8217;@'localhost&#8217; (using password: YES)</p>
<p>Then I tried:<br />
mysql &#8211;host=127.0.0.1 &#8211;port=3300 &#8211;user=username &#8211;password=mypw database</p>
<p>And it connected correctly!</p>
<p>Conclusion: the mysql tool always connects through a socket when you use localhost and MySQL Query Browser does the same.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: René</title>
		<link>http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/comment-page-1/#comment-68820</link>
		<dc:creator>René</dc:creator>
		<pubDate>Thu, 19 Mar 2009 09:28:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/#comment-68820</guid>
		<description>wqas, 

I don&#039;t think that would work with port forwarding. If the remote SSH has free access to the LAN and when the MySQL is open to LAN requests, then it would  be possible to access it this way:

ssh -L 3300:mysqlserver.com:3306 user@sshserver.com</description>
		<content:encoded><![CDATA[<p>wqas, </p>
<p>I don&#8217;t think that would work with port forwarding. If the remote SSH has free access to the LAN and when the MySQL is open to LAN requests, then it would  be possible to access it this way:</p>
<p>ssh -L 3300:mysqlserver.com:3306 <a href="mailto:user@sshserver.com">user@sshserver.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wqas</title>
		<link>http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/comment-page-1/#comment-68798</link>
		<dc:creator>wqas</dc:creator>
		<pubDate>Wed, 18 Mar 2009 21:36:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/#comment-68798</guid>
		<description>I have same problem connecting MYSQL Sever using SSH tunneling but my scanrio is different. i have a linux server which has enables ssh but MYSQL server is another server on the LAN of SSH server.

i.e
MYSQL Client-&gt;SSH-&gt;SSH Server-&gt;(LAN)-&gt;MYSQL Sever

Can some body advice me how to connect in this scanrio
I have acess to my middle server using SSH but even i can connect to mySQL server using command line. but how can i connect using MYSQL GUI

Waiting for reply
Thanks</description>
		<content:encoded><![CDATA[<p>I have same problem connecting MYSQL Sever using SSH tunneling but my scanrio is different. i have a linux server which has enables ssh but MYSQL server is another server on the LAN of SSH server.</p>
<p>i.e<br />
MYSQL Client-&gt;SSH-&gt;SSH Server-&gt;(LAN)-&gt;MYSQL Sever</p>
<p>Can some body advice me how to connect in this scanrio<br />
I have acess to my middle server using SSH but even i can connect to mySQL server using command line. but how can i connect using MYSQL GUI</p>
<p>Waiting for reply<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 0zSpitt</title>
		<link>http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/comment-page-1/#comment-63452</link>
		<dc:creator>0zSpitt</dc:creator>
		<pubDate>Sun, 21 Dec 2008 03:48:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/#comment-63452</guid>
		<description>i think this is what is missing when installing mythbuntu</description>
		<content:encoded><![CDATA[<p>i think this is what is missing when installing mythbuntu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/comment-page-1/#comment-62221</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 01 Dec 2008 10:19:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/#comment-62221</guid>
		<description>I just solve this problem, it may cause by FireWall or Mysql Server Port Number wrong or Error. try to reset it.</description>
		<content:encoded><![CDATA[<p>I just solve this problem, it may cause by FireWall or Mysql Server Port Number wrong or Error. try to reset it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/comment-page-1/#comment-62001</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sat, 29 Nov 2008 00:01:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/ubuntu/access-your-mysql-server-remotely-over-ssh/#comment-62001</guid>
		<description>You mean remote server is over the internet. i also having this problem, can someone help.</description>
		<content:encoded><![CDATA[<p>You mean remote server is over the internet. i also having this problem, can someone help.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
