<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Javatech &#187; MySQL</title>
	<atom:link href="http://javatech.org/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://javatech.org</link>
	<description>The Bleeding Edge of Java Technology</description>
	<lastBuildDate>Wed, 24 Jun 2009 22:30:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MySQL &#8211; importing data</title>
		<link>http://javatech.org/2009/02/mysql-importing-data/</link>
		<comments>http://javatech.org/2009/02/mysql-importing-data/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 22:09:54 +0000</pubDate>
		<dc:creator>deevis</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://javatech.org/2009/02/22/mysql-importing-data/</guid>
		<description><![CDATA[I needed to bulk load data into a MySQL instance a bit ago and here&#8217;s the way to do it:
You should login to mysql and select the correct database/schema prior to running that command.
mysql -uusername -p
use &#60;schema&#62;;
load data local infile 'data.csv' into table &#60;tableName&#62;
fields terminated by ','
enclosed by '"'
lines terminated by '\n'
(&#60;columnName1&#62;, &#60;columnName2&#62;, &#60;columnName3&#62;) ;
]]></description>
			<content:encoded><![CDATA[<p>I needed to bulk load data into a MySQL instance a bit ago and here&#8217;s the way to do it:</p>
<p>You should login to mysql and select the correct database/schema prior to running that command.</p>
<p>mysql -uusername -p</p>
<p>use &lt;schema&gt;;</p>
<p><code>load data local infile 'data.csv' into table &lt;tableName&gt;<br />
fields terminated by ','<br />
enclosed by '"'<br />
lines terminated by '\n'<br />
(&lt;columnName1&gt;, </code><code>&lt;columnName2&gt;</code><code>, </code><code>&lt;columnName3&gt;</code><code>)</code> ;</p>
]]></content:encoded>
			<wfw:commentRss>http://javatech.org/2009/02/mysql-importing-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
