<?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: Getting a complex MySQL resultset in CSV format on a remote client (*NIX)</title>
	<atom:link href="http://www.wolerized.com/tutorial/getting-complex-mysql-resultset-csv-format-remote-client-nix/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wolerized.com/tutorial/getting-complex-mysql-resultset-csv-format-remote-client-nix</link>
	<description>X-pect the Un-X-pected - Remi&#039;s spot on the web</description>
	<lastBuildDate>Fri, 06 Apr 2012 17:45:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Marianne</title>
		<link>http://www.wolerized.com/tutorial/getting-complex-mysql-resultset-csv-format-remote-client-nix#comment-80</link>
		<dc:creator>Marianne</dc:creator>
		<pubDate>Sun, 02 Oct 2011 15:33:16 +0000</pubDate>
		<guid isPermaLink="false">#comment-80</guid>
		<description>Thanks for the careful explanation. For some reason, the mysql command only works for me if there is no space between &quot;-u&quot; and &quot;username&quot; and between &quot;-p&quot; and &quot;password&quot;, i.e. I need to use &quot;&lt;code&gt;mysql -uusername -ppassword databasename -B -e ...&lt;/code&gt;&quot; Otherwise, mysql just dumps a description of all options on the screen (this is on Ubuntu).</description>
		<content:encoded><![CDATA[<p>Thanks for the careful explanation. For some reason, the mysql command only works for me if there is no space between &#8220;-u&#8221; and &#8220;username&#8221; and between &#8220;-p&#8221; and &#8220;password&#8221;, i.e. I need to use &#8220;<code>mysql -uusername -ppassword databasename -B -e ...</code>&#8221; Otherwise, mysql just dumps a description of all options on the screen (this is on Ubuntu).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Andersen</title>
		<link>http://www.wolerized.com/tutorial/getting-complex-mysql-resultset-csv-format-remote-client-nix#comment-17</link>
		<dc:creator>Nathan Andersen</dc:creator>
		<pubDate>Fri, 19 Aug 2011 16:40:41 +0000</pubDate>
		<guid isPermaLink="false">#comment-17</guid>
		<description>echo &quot;SELECT * FROM artist LIMIT 1 &quot; &#124; mysql -h pldnyi04 -u myusername --password=mypassword database_my_database --batch -B &#124; sed &#039;s/\t/”,”/g;s/^/”/;s/$/”/;s/\n//g&#039; &gt; nate_test.csv</description>
		<content:encoded><![CDATA[<p>echo &#8220;SELECT * FROM artist LIMIT 1 &#8221; | mysql -h pldnyi04 -u myusername &#8211;password=mypassword database_my_database &#8211;batch -B | sed &#8216;s/\t/”,”/g;s/^/”/;s/$/”/;s/\n//g&#8217; > nate_test.csv</p>
]]></content:encoded>
	</item>
</channel>
</rss>

