<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>Aerialarts &#187; MySQL</title>
	<atom:link href="http://aerial.st/tags/mysql/feed" rel="self" type="application/rss+xml" />
	<link>http://aerial.st</link>
	<description></description>
	<lastBuildDate>Thu, 22 Jul 2010 13:00:53 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://aerial.st/tags/mysql/feed" />
		<item>
		<title>rake db:createでキャラクタセット関連っぽいエラー</title>
		<link>http://aerial.st/archive/2009/06/14/mysql-character-set-error-when-rake-db-create</link>
		<comments>http://aerial.st/archive/2009/06/14/mysql-character-set-error-when-rake-db-create#comments</comments>
		<pubDate>Sun, 14 Jun 2009 13:58:42 +0000</pubDate>
		<dc:creator>ikm</dc:creator>
				<category><![CDATA[セットリスト]]></category>
		<category><![CDATA[開発]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://aerial.st/?p=466</guid>
		<description><![CDATA[MacPortsでインストールしたMySQL5を使用。 rake db:createで次のようなエラーが出た。 Couldn&#8217;t create database for {&#8220;reconnect&#8221;=>false, &#8220;encoding&#8221;=>&#8221;utf8&#8243;, &#8220;username&#8221;=>***, &#8220;adapter&#8221;=>&#8221;mysql&#8221;, &#8220;database&#8221;=>&#8221;TestApp_development&#8221;, &#8220;host&#8221;=>&#8221;localhost&#8221;, &#8220;pool&#8221;=>5, &#8220;password&#8221;=>***, &#8220;socket&#8221;=>&#8221;/opt/local/var/run/mysql5/mysqld.sock&#8221;}, charset: utf8, collation: utf8_general_ci (if you set the charset manually, make sure you have a matching collation) stick stackの記事とBACCASS Labsの記事を参考に、/etc/my.cnfを作成してデフォルトの文字セットを設定： sudo cp /opt/local/share/mysql5/mysql/my-medium.cnf /etc/my.cnf sudo mate /etc/my.cnf [client] default-character-set = utf8 [mysqld] default-character-set = utf8 collation-server=utf8_general_ci character-set-server=utf8 [mysqldump] default-character-set [...]]]></description>
		<wfw:commentRss>http://aerial.st/archive/2009/06/14/mysql-character-set-error-when-rake-db-create/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://aerial.st/archive/2009/06/14/mysql-character-set-error-when-rake-db-create" />
	</item>
	</channel>
</rss>
