<?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: HOWTO: Back Up and Restore Your MySQL Database</title>
	<atom:link href="http://landofthefreeish.com/how-to/backing-up-and-restoring-your-mysql-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://landofthefreeish.com/how-to/backing-up-and-restoring-your-mysql-database/</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 20:42:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Dan</title>
		<link>http://landofthefreeish.com/how-to/backing-up-and-restoring-your-mysql-database/comment-page-1/#comment-27946</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Mon, 27 Jun 2011 03:05:05 +0000</pubDate>
		<guid isPermaLink="false">http://landofthefreeish.com/2008/03/28/backing-up-and-restoring-your-mysql-database/#comment-27946</guid>
		<description>Stonebrakers main point is that people often overestimate the first value and underestimate the second.</description>
		<content:encoded><![CDATA[<p>Stonebrakers main point is that people often overestimate the first value and underestimate the second.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rose</title>
		<link>http://landofthefreeish.com/how-to/backing-up-and-restoring-your-mysql-database/comment-page-1/#comment-2614</link>
		<dc:creator>Rose</dc:creator>
		<pubDate>Mon, 06 Apr 2009 16:18:25 +0000</pubDate>
		<guid isPermaLink="false">http://landofthefreeish.com/2008/03/28/backing-up-and-restoring-your-mysql-database/#comment-2614</guid>
		<description>Always good quality info from this site!</description>
		<content:encoded><![CDATA[<p>Always good quality info from this site!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kliment Stefanov</title>
		<link>http://landofthefreeish.com/how-to/backing-up-and-restoring-your-mysql-database/comment-page-1/#comment-1144</link>
		<dc:creator>Kliment Stefanov</dc:creator>
		<pubDate>Sat, 07 Jun 2008 21:57:51 +0000</pubDate>
		<guid isPermaLink="false">http://landofthefreeish.com/2008/03/28/backing-up-and-restoring-your-mysql-database/#comment-1144</guid>
		<description>Well.. it didn&#039;t. And again:
&lt;code&gt;
mysqldump -u_user_ -p_pass_ â€“databases _dbname_ &gt; _dbname_.sql
mysql -u_user_ -p_pass_ &lt; _dbname_.sql
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Well.. it didn&#8217;t. And again:<br />
<code><br />
mysqldump -u_user_ -p_pass_ â€“databases _dbname_ &gt; _dbname_.sql<br />
mysql -u_user_ -p_pass_ &lt; _dbname_.sql<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kliment Stefanov</title>
		<link>http://landofthefreeish.com/how-to/backing-up-and-restoring-your-mysql-database/comment-page-1/#comment-1143</link>
		<dc:creator>Kliment Stefanov</dc:creator>
		<pubDate>Sat, 07 Jun 2008 21:53:10 +0000</pubDate>
		<guid isPermaLink="false">http://landofthefreeish.com/2008/03/28/backing-up-and-restoring-your-mysql-database/#comment-1143</guid>
		<description>Hmm...

The form submission script stripped parts of the code from my previous post. Here is the sequence again with &#039;_&#039; instead of &#039;&gt; .sql
mysql -u_user_ -p_pass_ &lt; _dbname_.sql</description>
		<content:encoded><![CDATA[<p>Hmm&#8230;</p>
<p>The form submission script stripped parts of the code from my previous post. Here is the sequence again with &#8216;_&#8217; instead of &#8216;&gt; .sql<br />
mysql -u_user_ -p_pass_ &lt; _dbname_.sql</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kliment Stefanov</title>
		<link>http://landofthefreeish.com/how-to/backing-up-and-restoring-your-mysql-database/comment-page-1/#comment-1142</link>
		<dc:creator>Kliment Stefanov</dc:creator>
		<pubDate>Sat, 07 Jun 2008 12:33:05 +0000</pubDate>
		<guid isPermaLink="false">http://landofthefreeish.com/2008/03/28/backing-up-and-restoring-your-mysql-database/#comment-1142</guid>
		<description>Not specifying the option --databases in mysqldump will not add the CREATE DATABASE into the output.sql file. 

In addition, if you add the name of the database to the command line when restoring the database, will result in the following error:
ERROR 1049 (42000): Unknown database &#039;db_name&#039;.

The correct sequence is:
mysqldump -u -p --databases  &gt; .sql
mysql -u -p &lt; .sql

Cheers,

Pimmy</description>
		<content:encoded><![CDATA[<p>Not specifying the option &#8211;databases in mysqldump will not add the CREATE DATABASE into the output.sql file. </p>
<p>In addition, if you add the name of the database to the command line when restoring the database, will result in the following error:<br />
ERROR 1049 (42000): Unknown database &#8216;db_name&#8217;.</p>
<p>The correct sequence is:<br />
mysqldump -u -p &#8211;databases  &gt; .sql<br />
mysql -u -p &lt; .sql</p>
<p>Cheers,</p>
<p>Pimmy</p>
]]></content:encoded>
	</item>
</channel>
</rss>

