<?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>ph-lee &#187; database.yml</title>
	<atom:link href="http://www.ph-lee.com/tag/database-yml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ph-lee.com</link>
	<description>aspire to inspire before you expire</description>
	<lastBuildDate>Sat, 29 May 2010 19:11:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing mysql on Mac Snow Leopard</title>
		<link>http://www.ph-lee.com/2009/09/18/installing-mysql-on-mac-snow-leopard/</link>
		<comments>http://www.ph-lee.com/2009/09/18/installing-mysql-on-mac-snow-leopard/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 17:11:59 +0000</pubDate>
		<dc:creator>ph-lee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database.yml]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ror]]></category>
		<category><![CDATA[snow leopard]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ph-lee.com/?p=197</guid>
		<description><![CDATA[This articles is regarding Mac OS X 10.6 with mysql 5.1.37.
I followed this article at hivelogic.com which required compiling mysql from source. It mostly worked with a few hitches which I&#8217;d like to share.
After following the article and attempting to run my rails app the first problem I hit was&#8230;
uninitialized constant MysqlCompat::MysqlRes
this problem seemed to [...]]]></description>
			<content:encoded><![CDATA[<p>This articles is regarding Mac OS X 10.6 with mysql 5.1.37.</p>
<p>I followed <a href="http://hivelogic.com/articles/compiling-mysql-on-snow-leopard/">this article at hivelogic.com</a> which required compiling mysql from source. It mostly worked with a few hitches which I&#8217;d like to share.</p>
<p>After following the article and attempting to run my rails app the first problem I hit was&#8230;</p>
<p><code>uninitialized constant MysqlCompat::MysqlRes</code></p>
<p>this problem seemed to be that you need to specify the atchitecture as 64-bit when installing the mysql gem. So run the below command intead when install the mysql gem&#8230;</p>
<p><code>sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-<br />
config=/usr/local/mysql/bin/mysql_config</code></p>
<p>Or if you already installed the gem just re-install with this command. The next problem was the following&#8230;</p>
<p><code>Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)</code></p>
<p>I&#8217;d move a project from ubuntu onto the mac I couldn&#8217;t find the mysql socket to use as it was specifying the wrong location. On the mac the file can be found at</p>
<p><code>/tmp/mysql.sock</code></p>
<p>So you&#8217;ll need to modify your database.yml file accordingly to point to this location</p>
<p>Hope this helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ph-lee.com/2009/09/18/installing-mysql-on-mac-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Gotcha : Mysql::Error: Access denied for user &#039;root&#039;@&#039;localhost&#039; (using password: NO) /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize&#039;</title>
		<link>http://www.ph-lee.com/2009/07/19/gotcha-mysqlerror-access-denied-for-user-rootlocalhost-using-password-no-usrlibruby18monitorrb242in-synchronize/</link>
		<comments>http://www.ph-lee.com/2009/07/19/gotcha-mysqlerror-access-denied-for-user-rootlocalhost-using-password-no-usrlibruby18monitorrb242in-synchronize/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 17:50:47 +0000</pubDate>
		<dc:creator>ph-lee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[database.yml]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[gotcha]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ror]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://www.ph-lee.com/?p=141</guid>
		<description><![CDATA[So you decided to run some tests on your new rails project and this error crops up&#8230;
Looks like you forget to configure the test database parameters in the configuration/database.yml file.
]]></description>
			<content:encoded><![CDATA[<p>So you decided to run some tests on your new rails project and this error crops up&#8230;</p>
<script src="http://gist.github.com/149980.js"></script>
<p>Looks like you forget to configure the test database parameters in the configuration/database.yml file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ph-lee.com/2009/07/19/gotcha-mysqlerror-access-denied-for-user-rootlocalhost-using-password-no-usrlibruby18monitorrb242in-synchronize/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
