<?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; gotcha</title>
	<atom:link href="http://www.ph-lee.com/tag/gotcha/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>Gotcha : Mysql::Error: Unknown database &#039;application_name_test&#039;  /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize&#039;</title>
		<link>http://www.ph-lee.com/2009/07/19/gotcha-mysqlerror-unknown-database-application_name_test-usrlibruby18monitorrb242in-synchronize/</link>
		<comments>http://www.ph-lee.com/2009/07/19/gotcha-mysqlerror-unknown-database-application_name_test-usrlibruby18monitorrb242in-synchronize/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 18:03:11 +0000</pubDate>
		<dc:creator>ph-lee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[database]]></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>

		<guid isPermaLink="false">http://www.ph-lee.com/?p=146</guid>
		<description><![CDATA[After dealing with thisGotcha : Mysql::Error: Access denied for user ‘root’@&#8217;localhost’ you&#8217;ve hit another problem of&#8230;
This means rails is looking for the test database but can&#8217;t find it cause it&#8217;s not there. Simply got to mysql Query Browser or command line, whichever you prefer and create a new database/schema of your application_name followed by _test [...]]]></description>
			<content:encoded><![CDATA[<p>After dealing with this<a href="http://www.ph-lee.com/2009/07/19/gotcha-mysqlerror-access-denied-for-user-rootlocalhost-using-password-no-usrlibruby18monitorrb242in-synchronize/">Gotcha : Mysql::Error: Access denied for user ‘root’@&#8217;localhost’</a> you&#8217;ve hit another problem of&#8230;</p>
<script src="http://gist.github.com/149984.js"></script>
<p>This means rails is looking for the test database but can&#8217;t find it cause it&#8217;s not there. Simply got to mysql Query Browser or command line, whichever you prefer and create a new database/schema of your application_name followed by _test so for example</p>
<p><code>my_app_test</code></p>
<p>Theres no need to copy/clone the database structure a across. Rails will replicate the development database as the test database.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ph-lee.com/2009/07/19/gotcha-mysqlerror-unknown-database-application_name_test-usrlibruby18monitorrb242in-synchronize/feed/</wfw:commentRss>
		<slash:comments>0</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>
