<?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"
	>
<channel>
	<title>Comments on: MySQL Commands You Should Have Committed to Memory Already</title>
	<atom:link href="http://solutions.treypiepmeier.com/2008/01/16/mysql-commands-you-should-have-committed-to-memory-already/feed/" rel="self" type="application/rss+xml" />
	<link>http://solutions.treypiepmeier.com/2008/01/16/mysql-commands-you-should-have-committed-to-memory-already/</link>
	<description>So I don't have to figure things out more than once.</description>
	<pubDate>Tue, 30 Sep 2008 23:40:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: JTJ</title>
		<link>http://solutions.treypiepmeier.com/2008/01/16/mysql-commands-you-should-have-committed-to-memory-already/#comment-9699</link>
		<dc:creator>JTJ</dc:creator>
		<pubDate>Thu, 17 Jan 2008 05:38:09 +0000</pubDate>
		<guid isPermaLink="false">http://solutions.treypiepmeier.com/2008/01/16/mysql-commands-you-should-have-committed-to-memory-already/#comment-9699</guid>
		<description>&lt;p&gt;A few things to note:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;If your host is localhost, you don't have to do the -h&lt;/li&gt;
&lt;li&gt;It might be a little safer to just put -p without the password in the command. That way, it'll prompt you for it, and it's not in your history or anything.&lt;/li&gt;
&lt;li&gt;If you're just doing a backup dump, you can save space by piping your dump through gzip like so:
&lt;code&gt;mysqldump -u user -p database_name &#124; gzip &#62; dump_file.sql.gz&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Finally, sometimes there are encoding issues when dumping to a file and importing the dump. Depending on what character encoding your database/tables use, sometimes helps:
&lt;code&gt;--default_character-set=latin1 --skip-set-charset&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
</description>
		<content:encoded><![CDATA[<p>A few things to note:</p>

<ol>
<li>If your host is localhost, you don&#8217;t have to do the -h</li>
<li>It might be a little safer to just put -p without the password in the command. That way, it&#8217;ll prompt you for it, and it&#8217;s not in your history or anything.</li>
<li>If you&#8217;re just doing a backup dump, you can save space by piping your dump through gzip like so:
<code>mysqldump -u user -p database_name | gzip &gt; dump_file.sql.gz</code></li>
<li>Finally, sometimes there are encoding issues when dumping to a file and importing the dump. Depending on what character encoding your database/tables use, sometimes helps:
<code>--default_character-set=latin1 --skip-set-charset</code></li>
</ol>]]></content:encoded>
	</item>
</channel>
</rss>
