<?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>Wake up and smell the Coffee &#187; MySQL</title>
	<atom:link href="http://www.yannicafe.info/wp/tag/mysql/feed" rel="self" type="application/rss+xml" />
	<link>http://www.yannicafe.info/wp</link>
	<description>There's nothing about the Coffee, just Wake up!</description>
	<lastBuildDate>Fri, 13 Nov 2009 22:22:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>讓MySQL忽略SQL語法中大小寫的方法</title>
		<link>http://www.yannicafe.info/wp/2009/03/07/89.html</link>
		<comments>http://www.yannicafe.info/wp/2009/03/07/89.html#comments</comments>
		<pubDate>Sat, 07 Mar 2009 10:22:48 +0000</pubDate>
		<dc:creator>yanni</dc:creator>
				<category><![CDATA[資訊]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.yannicafe.info/wp/2009/03/07/89.html</guid>
		<description><![CDATA[有個專案原本是用MS-SQL當DB，後轉到Linux的MySQL上，結果轉換的過程中一個沒注意，所有的table名稱全變成了小寫。偏偏MySQL的table name就是file name，而在Linux上file name是case sensitive的，結果所有程式中的SQL語法全部陣亡。 在已無法重轉DB的情況下，只好使用更改MySQL設定的方式。只要找到MySQL的設定檔（Linux的話通常是在 /etc/my.cnf 這個位置，如果沒有的話請先copy一份預設的設定檔過去），然後在當中加上如下一行設定即大功告成，之後MySQL都會自動忽略所有的SQL語法中大小寫的差別囉！ lower_case_table_names = 1]]></description>
			<content:encoded><![CDATA[<p>有個專案原本是用MS-SQL當DB，後轉到Linux的MySQL上，結果轉換的過程中一個沒注意，所有的table名稱全變成了小寫。偏偏MySQL的table name就是file name，而在Linux上file name是case sensitive的，結果所有程式中的SQL語法全部陣亡。</p>
<p>在已無法重轉DB的情況下，只好使用更改MySQL設定的方式。只要找到MySQL的設定檔（Linux的話通常是在 /etc/my.cnf 這個位置，如果沒有的話請先copy一份預設的設定檔過去），然後在當中加上如下一行設定即大功告成，之後MySQL都會自動忽略所有的SQL語法中大小寫的差別囉！</p>
<p>
<pre class="brush: sh">lower_case_table_names = 1</pre></p>
]]></content:encoded>
			<wfw:commentRss>http://www.yannicafe.info/wp/2009/03/07/89.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

