<?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: Suddenly I Tee .. or how to log your mysql shell output to a log file</title>
	<atom:link href="http://thirdpartycode.com/2007/12/suddenly-i-tee-or-how-to-log-your-mysql-shell-output-to-a-log-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://thirdpartycode.com/2007/12/suddenly-i-tee-or-how-to-log-your-mysql-shell-output-to-a-log-file/</link>
	<description>Linux, PHP 5, Apache Consulting in San Antonio, TX</description>
	<lastBuildDate>Thu, 05 Aug 2010 12:40:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Zic</title>
		<link>http://thirdpartycode.com/2007/12/suddenly-i-tee-or-how-to-log-your-mysql-shell-output-to-a-log-file/comment-page-1/#comment-191</link>
		<dc:creator>Zic</dc:creator>
		<pubDate>Mon, 10 Mar 2008 15:48:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpcult.com/blog/17/suddenly-i-tee-or-how-to-log-your-mysql-shell-output-to-a-log-file/#comment-191</guid>
		<description>Good Tip, some other ways to do this:

From Bash
$&gt; mysql dbname -e &#039;select foo from bar where name=&quot;Joe&quot; &#039; &gt; output.sql

From mysql
mysql&gt; SELECT foo FROM bar INTO OUTFILE &#039;output.sql&#039;
(this file will be inside the /var/lib/mysql/foo/ dir unless you give full path)

Also check out mysqldump if you want to copy an entire database or table from one server to another (or for a backup).</description>
		<content:encoded><![CDATA[<p>Good Tip, some other ways to do this:</p>
<p>From Bash<br />
$&gt; mysql dbname -e &#8216;select foo from bar where name=&#8221;Joe&#8221; &#8216; &gt; output.sql</p>
<p>From mysql<br />
mysql&gt; SELECT foo FROM bar INTO OUTFILE &#8216;output.sql&#8217;<br />
(this file will be inside the /var/lib/mysql/foo/ dir unless you give full path)</p>
<p>Also check out mysqldump if you want to copy an entire database or table from one server to another (or for a backup).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)

Served from: thirdpartycode.com @ 2010-09-10 16:49:03 -->