<?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>Anna Filina &#187; mysql</title>
	<atom:link href="http://annafilina.com/blog/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://annafilina.com/blog</link>
	<description>I fix stuff</description>
	<lastBuildDate>Wed, 04 Jan 2012 14:56:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>doctrine:insert-sql for MAMP users</title>
		<link>http://annafilina.com/blog/doctrine-and-mamp/</link>
		<comments>http://annafilina.com/blog/doctrine-and-mamp/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 01:51:55 +0000</pubDate>
		<dc:creator>Anna</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[doctrine]]></category>
		<category><![CDATA[mac os]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://annafilina.com/blog/?p=319</guid>
		<description><![CDATA[One of my computers has MAMP installed. I was trying to build a database schema from a YAML file. When time came to insert the SQL using&#8230;
&#62;php symfony doctrine:insert-sql
the following error message appeared:
&#62;Couldn&#8217;t locate driver named mysql
MySQL worked fine on this computer for many years so a missing driver was out of the question. After<div><a href="http://annafilina.com/blog/doctrine-and-mamp/">Read the rest...</a></div><br />]]></description>
			<content:encoded><![CDATA[<p>One of my computers has MAMP installed. I was trying to build a database schema from a YAML file. When time came to insert the SQL using&#8230;</p>
<p>&gt;php symfony doctrine:insert-sql</p>
<p>the following error message appeared:</p>
<p>&gt;Couldn&#8217;t locate driver named mysql</p>
<p>MySQL worked fine on this computer for many years so a missing driver was out of the question. After some thinking I realized that the command &#8220;php&#8221; actually refers to OS X version of php and not the one that ships with MAMP. Since I was too lazy to properly configure the extensions for the OS X version, I simply pointed the &#8220;php&#8221; command to the MAMP version using the following line:</p>
<p>&gt;alias php=&#8217;/Applications/MAMP/bin/php5/bin/php&#8217;</p>
<p>I ran the symfony command again and it worked perfectly!</p>
]]></content:encoded>
			<wfw:commentRss>http://annafilina.com/blog/doctrine-and-mamp/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

