<?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>#{茶男與藍牌} &#187; MySQL</title>
	<atom:link href="http://www.chentianwen.net/wordpress/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chentianwen.net/wordpress</link>
	<description>Life has to be exciting.</description>
	<lastBuildDate>Wed, 01 Feb 2012 01:34:10 +0000</lastBuildDate>
	<language>en</language>
	<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>MySQL export to csv</title>
		<link>http://www.chentianwen.net/wordpress/2011/10/10/mysql-export-to-csv/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mysql-export-to-csv</link>
		<comments>http://www.chentianwen.net/wordpress/2011/10/10/mysql-export-to-csv/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 04:26:03 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[MySql]]></category>
		<category><![CDATA[CSV]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=497</guid>
		<description><![CDATA[SELECT id, name, email INTO OUTFILE '/tmp/result.csv' FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' ESCAPED BY ‘\\’ LINES TERMINATED BY '\n' FROM users WHERE 1 <p lang="sql">@see http://dev.mysql.com/doc/refman/5.6/en/load-data.html</p>]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2011/10/10/mysql-export-to-csv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PostgreSQL useful SQL statement</title>
		<link>http://www.chentianwen.net/wordpress/2010/12/10/postgresql-useful-sql-statement/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=postgresql-useful-sql-statement</link>
		<comments>http://www.chentianwen.net/wordpress/2010/12/10/postgresql-useful-sql-statement/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 00:25:59 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=332</guid>
		<description><![CDATA[<p>For functionality similar to mysql SHOW TABLES use:</p> <p>select * from information_schema.tables where table_schema=&#8217;public&#8217; and table_type=&#8217;BASE TABLE&#8217;</p>]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2010/12/10/postgresql-useful-sql-statement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>no such file to load &#8212; mysql</title>
		<link>http://www.chentianwen.net/wordpress/2009/06/21/no-such-file-to-load-mysql/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=no-such-file-to-load-mysql</link>
		<comments>http://www.chentianwen.net/wordpress/2009/06/21/no-such-file-to-load-mysql/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 12:58:09 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[MySql]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=205</guid>
		<description><![CDATA[<p>from <a href="http://blogs.sun.com/divas/entry/no_such_file_to_load">http://blogs.sun.com/divas/entry/no_such_file_to_load</a></p> <p>Rails never fails me. As soon as I publish a series of tutorials for a NetBeans release, a new Rails release comes out which breaks my tutorials (and, apparently, most everyone else&#8217;s). Gratefully, some customers took the time to click the Feedback button at the end of our tutorials to let us know [...]]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2009/06/21/no-such-file-to-load-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>!Statement.GeneratedKeysNotRequested!</title>
		<link>http://www.chentianwen.net/wordpress/2009/06/10/statementgeneratedkeysnotrequested/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=statementgeneratedkeysnotrequested</link>
		<comments>http://www.chentianwen.net/wordpress/2009/06/10/statementgeneratedkeysnotrequested/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 05:48:00 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=200</guid>
		<description><![CDATA[<p>Happen on version 5.1.7, so switch back to 5.1.6 is the solution&#8230;</p> <p>From <a href="http://bugs.mysql.com/bug.php?id=41448">http://bugs.mysql.com/bug.php?id=41448</a></p> Bug #41448 java.sql.SQLException: !Statement.GeneratedKeysNotRequested! Submitted: 13 Dec 2008 18:22 Modified: 28 May 20:29 Reporter: <a href="http://bugs.mysql.com/search.php?cmd=display&#38;status=Active&#38;reporter=509818">Rico H.</a> Status: Documenting Category: Connector/J Severity: S1 (Critical) Version: 5.1.7 OS: Linux Assigned to: Target Version: [13 Dec 2008 18:22] Rico H. Description: Hello, Consider [...]]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2009/06/10/statementgeneratedkeysnotrequested/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQLException for zero DATETIME or TIMESTAMP column? Use zeroDateTimeBehavior</title>
		<link>http://www.chentianwen.net/wordpress/2009/04/03/sqlexception-for-zero-datetime-or-timestamp-column-use-zerodatetimebehavior/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sqlexception-for-zero-datetime-or-timestamp-column-use-zerodatetimebehavior</link>
		<comments>http://www.chentianwen.net/wordpress/2009/04/03/sqlexception-for-zero-datetime-or-timestamp-column-use-zerodatetimebehavior/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 04:05:42 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=185</guid>
		<description><![CDATA[<p>from <a href="http://ondra.zizka.cz/stranky/programovani/java/index.texy">http://ondra.zizka.cz/stranky/programovani/java/index.texy</a></p> <p>When working with MySQL over JDBC and the driver encounters a zero DATE, TIME, or DATETIME value (that is, e.g, ‚0000–00–00‘ for DATE), an exception is thrown:</p> java.sql.SQLException: Cannot convert value '0000-00-00 00:00:00' from column 4 to TIMESTAMP. <p>In this case, using SQL commands like</p> SET GLOBAL sql_mode = 'NO_ZERO_DATE'; <p>does not [...]]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2009/04/03/sqlexception-for-zero-datetime-or-timestamp-column-use-zerodatetimebehavior/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL: Get Next Auto_increment</title>
		<link>http://www.chentianwen.net/wordpress/2009/01/28/mysql-get-next-auto_increment/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mysql-get-next-auto_increment</link>
		<comments>http://www.chentianwen.net/wordpress/2009/01/28/mysql-get-next-auto_increment/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 13:04:37 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=156</guid>
		<description><![CDATA[from <a href="http://blog.jamiedoris.com/geek/560/">http://blog.jamiedoris.com/geek/560/</a> MySQL: Get Next Auto_increment Thursday April 24th, 2003 <p><a name="560"></a></p> <p>** It is not recommended to use this method for generating foreign keys for lookups. In a multiuser environment with simultaneous requests the results will be utterly useless and unreliable. OK? **</p> <p>So I was working on the preview feature of the [...]]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2009/01/28/mysql-get-next-auto_increment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL error 1017: errno: 24</title>
		<link>http://www.chentianwen.net/wordpress/2008/09/09/mysql-error-1017-errno-24/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mysql-error-1017-errno-24</link>
		<comments>http://www.chentianwen.net/wordpress/2008/09/09/mysql-error-1017-errno-24/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 15:40:53 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=3</guid>
		<description><![CDATA[From <a href="http://lists.mysql.com/mysql/178353">Re: Mysqldump error 1017: errno: 24 - help?</a> Yep, that seems to have done it, at least when I'm testing it. I'm pretty sure the problem is fixed, but the next couple of days of automated backups will tell. Thanks! On Tue, 2005-01-11 at 00:43, Gleb Paharenko wrote: &#62; Hello. &#62; &#62; Try [...]]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2008/09/09/mysql-error-1017-errno-24/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

