<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	>
<channel>
	<title>Comments on: Snippet: Copy MySQL Databases Over SSH</title>
	<atom:link href="http://garrickvanburen.com/archive/snippet-copy-mysql-databases-over-ssh/feed" rel="self" type="application/rss+xml" />
	<link>http://garrickvanburen.com/archive/snippet-copy-mysql-databases-over-ssh</link>
	<description>User Experience Strategy, Ruby and Rails Web App Development</description>
	<lastBuildDate>Fri, 12 Mar 2010 06:38:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ALEX</title>
		<link>http://garrickvanburen.com/archive/snippet-copy-mysql-databases-over-ssh/comment-page-1#comment-60681</link>
		<dc:creator>ALEX</dc:creator>
		<pubDate>Wed, 02 Sep 2009 13:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://garrickvanburen.com/?p=1505#comment-60681</guid>
		<description>GREAT!
Thanks a lot man.</description>
		<content:encoded><![CDATA[<p>GREAT!<br />
Thanks a lot man.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://garrickvanburen.com/archive/snippet-copy-mysql-databases-over-ssh/comment-page-1#comment-60533</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Mon, 27 Jul 2009 13:58:57 +0000</pubDate>
		<guid isPermaLink="false">http://garrickvanburen.com/?p=1505#comment-60533</guid>
		<description>It may be a bit late but you could try:

ssh REMOTE_USER@host mysqldump -uREMOTE_DB_USER -pPASS OLD_DB &#124; mysql -uDB_USER -pPASS NEW_DB

This way your are feeding the remote DB dump into the local mysql command.</description>
		<content:encoded><![CDATA[<p>It may be a bit late but you could try:</p>
<p>ssh REMOTE_USER@host mysqldump -uREMOTE_DB_USER -pPASS OLD_DB | mysql -uDB_USER -pPASS NEW_DB</p>
<p>This way your are feeding the remote DB dump into the local mysql command.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven</title>
		<link>http://garrickvanburen.com/archive/snippet-copy-mysql-databases-over-ssh/comment-page-1#comment-60234</link>
		<dc:creator>Steven</dc:creator>
		<pubDate>Tue, 19 May 2009 17:42:27 +0000</pubDate>
		<guid isPermaLink="false">http://garrickvanburen.com/?p=1505#comment-60234</guid>
		<description>I&#039;m trying to the reverse of this command but the remote server is not registering the password.

&lt;code&gt;mysql -u USER -pPASSWORD DATABASE_NAME &#124; ssh USER@REMOTE_HOSTNAME  mysqldump -v -u USER -pPASSWORD -h HOST --opt --compress DATABASE_NAME&lt;/code&gt;

I am prompted for my ssh password. After entering it and pressing return, nothing happens. If I hit return again, it tells my my password is incorrect, when I know it&#039;s not.

If I break the command up it works as expected.

&lt;code&gt;ssh USER@ REMOTE_HOSTNAME  mysqldump -v -u USER -pPASSWORD -h HOST --opt --compress DATABASE_NAME &gt; db.sql&lt;/code&gt;

Any idea&#039;s what&#039;s causing this hang up?

Thanks</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to the reverse of this command but the remote server is not registering the password.</p>
<p><code>mysql -u USER -pPASSWORD DATABASE_NAME | ssh USER@REMOTE_HOSTNAME  mysqldump -v -u USER -pPASSWORD -h HOST --opt --compress DATABASE_NAME</code></p>
<p>I am prompted for my ssh password. After entering it and pressing return, nothing happens. If I hit return again, it tells my my password is incorrect, when I know it&#8217;s not.</p>
<p>If I break the command up it works as expected.</p>
<p><code>ssh USER@ REMOTE_HOSTNAME  mysqldump -v -u USER -pPASSWORD -h HOST --opt --compress DATABASE_NAME &gt; db.sql</code></p>
<p>Any idea&#8217;s what&#8217;s causing this hang up?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wdbp</title>
		<link>http://garrickvanburen.com/archive/snippet-copy-mysql-databases-over-ssh/comment-page-1#comment-56700</link>
		<dc:creator>wdbp</dc:creator>
		<pubDate>Wed, 16 Jul 2008 15:29:31 +0000</pubDate>
		<guid isPermaLink="false">http://garrickvanburen.com/?p=1505#comment-56700</guid>
		<description>I&#039;d said more : don&#039;t use password on command line or erase history after...</description>
		<content:encoded><![CDATA[<p>I&#8217;d said more : don&#8217;t use password on command line or erase history after&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
