<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Setting up a PHP/MySQL Local Development Environment on a Mac (doing it properly)</title>
	<atom:link href="http://www.sean-barton.co.uk/2009/02/setting-up-a-phpmysql-local-development-environment-on-a-mac-doing-it-properly/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sean-barton.co.uk/2009/02/setting-up-a-phpmysql-local-development-environment-on-a-mac-doing-it-properly/</link>
	<description>by Sean Barton, a freelance PHP website developer in Crewe, Cheshire</description>
	<lastBuildDate>Tue, 07 Feb 2012 21:17:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Garrett</title>
		<link>http://www.sean-barton.co.uk/2009/02/setting-up-a-phpmysql-local-development-environment-on-a-mac-doing-it-properly/comment-page-1/#comment-6157</link>
		<dc:creator>Garrett</dc:creator>
		<pubDate>Sun, 09 Oct 2011 05:26:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.sean-barton.co.uk/?p=203#comment-6157</guid>
		<description>Hi Sean,

Thanks for your reply.  Actually last night while I was working on it I figured out what I was doing wrong.

-Needed to install mySQL with the root account.
-Set permissions on /usr/local/mysql
-And lastly, php was looking for the mysql.sock file in /var/mysql/mysql.sock when in fact mySQL was creating it in /tmp/mysql.sock  I changed the php.ini file to look in the proper location and my woes were resolved.  

There&#039;s a lot of good info on setting up mySQL here too: http://developer.apple.com/internet/opensource/osdb.html  Hopefully that will help someone.  Thanks again,

-Garrett</description>
		<content:encoded><![CDATA[<p>Hi Sean,</p>
<p>Thanks for your reply.  Actually last night while I was working on it I figured out what I was doing wrong.</p>
<p>-Needed to install mySQL with the root account.<br />
-Set permissions on /usr/local/mysql<br />
-And lastly, php was looking for the mysql.sock file in /var/mysql/mysql.sock when in fact mySQL was creating it in /tmp/mysql.sock  I changed the php.ini file to look in the proper location and my woes were resolved.  </p>
<p>There&#8217;s a lot of good info on setting up mySQL here too: <a href="http://developer.apple.com/internet/opensource/osdb.html" rel="nofollow">http://developer.apple.com/internet/opensource/osdb.html</a>  Hopefully that will help someone.  Thanks again,</p>
<p>-Garrett</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://www.sean-barton.co.uk/2009/02/setting-up-a-phpmysql-local-development-environment-on-a-mac-doing-it-properly/comment-page-1/#comment-6156</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Sat, 08 Oct 2011 08:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.sean-barton.co.uk/?p=203#comment-6156</guid>
		<description>Hi Garrett,

Thanks for getting in touch. It&#039;s been a while since I needed to do this although I followed my own instructions with my new iMac last year and seemed to work ok. With regard to mysql.sock problem. I presume it&#039;s because you have conflicting versions installed perhaps. I just installed it from the dmg file and made the appropriate connections in the code and it went fine. If you want to drop me a line via email or send me some more information then perhaps I can point you in the right direction.

ta
S</description>
		<content:encoded><![CDATA[<p>Hi Garrett,</p>
<p>Thanks for getting in touch. It&#8217;s been a while since I needed to do this although I followed my own instructions with my new iMac last year and seemed to work ok. With regard to mysql.sock problem. I presume it&#8217;s because you have conflicting versions installed perhaps. I just installed it from the dmg file and made the appropriate connections in the code and it went fine. If you want to drop me a line via email or send me some more information then perhaps I can point you in the right direction.</p>
<p>ta<br />
S</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Garrett</title>
		<link>http://www.sean-barton.co.uk/2009/02/setting-up-a-phpmysql-local-development-environment-on-a-mac-doing-it-properly/comment-page-1/#comment-6154</link>
		<dc:creator>Garrett</dc:creator>
		<pubDate>Sat, 08 Oct 2011 00:25:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.sean-barton.co.uk/?p=203#comment-6154</guid>
		<description>What about installing the MySQL server, any tips?  I&#039;m running into the common mysql.sock problem...</description>
		<content:encoded><![CDATA[<p>What about installing the MySQL server, any tips?  I&#8217;m running into the common mysql.sock problem&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 9/20 queries in 0.035 seconds using disk
Object Caching 329/334 objects using disk

Served from: www.sean-barton.co.uk @ 2012-02-10 11:04:25 -->
