<?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: PHP &amp; MySQL on Leopard: mysql.sock Location</title>
	<atom:link href="http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/</link>
	<description>comments, answers, etc.</description>
	<lastBuildDate>Tue, 03 Aug 2010 05:58:04 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: How to Install WordPress on Mac OS X (Leopard)</title>
		<link>http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/comment-page-1/#comment-3295</link>
		<dc:creator>How to Install WordPress on Mac OS X (Leopard)</dc:creator>
		<pubDate>Fri, 05 Mar 2010 11:47:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/#comment-3295</guid>
		<description>[...] PHP &amp; MySQL on Leopard: mysql.sock Location « beyondmac.com [...]</description>
		<content:encoded><![CDATA[<p>[...] PHP &amp; MySQL on Leopard: mysql.sock Location « beyondmac.com [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad</title>
		<link>http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/comment-page-1/#comment-3268</link>
		<dc:creator>Chad</dc:creator>
		<pubDate>Thu, 15 Oct 2009 14:57:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/#comment-3268</guid>
		<description>This solved in a couple of minutes what I spent ALL day trying to get resolved yesterday.  Thanks!!!!</description>
		<content:encoded><![CDATA[<p>This solved in a couple of minutes what I spent ALL day trying to get resolved yesterday.  Thanks!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to Install WordPress on Mac OS X (Leopard) :: Software</title>
		<link>http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/comment-page-1/#comment-2835</link>
		<dc:creator>How to Install WordPress on Mac OS X (Leopard) :: Software</dc:creator>
		<pubDate>Wed, 08 Jul 2009 09:01:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/#comment-2835</guid>
		<description>[...] PHP &amp; MySQL on Leopard: mysql.sock Location « beyondmac.com [...]</description>
		<content:encoded><![CDATA[<p>[...] PHP &amp; MySQL on Leopard: mysql.sock Location « beyondmac.com [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan</title>
		<link>http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/comment-page-1/#comment-1910</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Tue, 17 Feb 2009 23:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/#comment-1910</guid>
		<description>I can&#039;t find any my.cnf file. I&#039;ve tried to locate it with text wrangler, but no results. How can I edit it?  Thank you.</description>
		<content:encoded><![CDATA[<p>I can&#039;t find any my.cnf file. I&#039;ve tried to locate it with text wrangler, but no results. How can I edit it?  Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jaffle</title>
		<link>http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/comment-page-1/#comment-1288</link>
		<dc:creator>jaffle</dc:creator>
		<pubDate>Fri, 24 Oct 2008 09:50:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/#comment-1288</guid>
		<description>I think the following is an even easier REAL way than #2:

Add the following line

php_value mysql.default_socket /tmp/mysql.sock

to the

/private/etc/apache2/other/php5.conf

file (in between the  tags of course), then restart web sharing.  In most instances php.ini does not exist, and #2 makes you create that file, which is a security risk in some installations.  This does not add that risk.</description>
		<content:encoded><![CDATA[<p>I think the following is an even easier REAL way than #2:</p>
<p>Add the following line</p>
<p>php_value mysql.default_socket /tmp/mysql.sock</p>
<p>to the</p>
<p>/private/etc/apache2/other/php5.conf</p>
<p>file (in between the  tags of course), then restart web sharing.  In most instances php.ini does not exist, and #2 makes you create that file, which is a security risk in some installations.  This does not add that risk.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dalmazio</title>
		<link>http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/comment-page-1/#comment-1147</link>
		<dc:creator>Dalmazio</dc:creator>
		<pubDate>Mon, 15 Sep 2008 08:03:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/#comment-1147</guid>
		<description>On Leopard (OS X 10.5), PHP defaults to look for the socket at /var/mysql/mysql.sock. While the OS X MySQL installation package (mysql.com) defaults to placing it at /tmp/mysql.sock. A solution that corrects the problem is to edit the /etc/php.ini file and change

    mysql.default_socket = 

to

    mysql.default_socket = /tmp/mysql.sock

and for completeness also change

    mysqli.default_socket = 

to

    mysqli.default_socket = /tmp/mysql.sock</description>
		<content:encoded><![CDATA[<p>On Leopard (OS X 10.5), PHP defaults to look for the socket at /var/mysql/mysql.sock. While the OS X MySQL installation package (mysql.com) defaults to placing it at /tmp/mysql.sock. A solution that corrects the problem is to edit the /etc/php.ini file and change</p>
<p>    mysql.default_socket = </p>
<p>to</p>
<p>    mysql.default_socket = /tmp/mysql.sock</p>
<p>and for completeness also change</p>
<p>    mysqli.default_socket = </p>
<p>to</p>
<p>    mysqli.default_socket = /tmp/mysql.sock</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DAVID</title>
		<link>http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/comment-page-1/#comment-1143</link>
		<dc:creator>DAVID</dc:creator>
		<pubDate>Fri, 12 Sep 2008 12:56:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/#comment-1143</guid>
		<description>Brilliant ! After hours of configuring mysql under Leopard with no success, your solution took me 5 minutes and it works with phpmyadmin !

Thank you very much ! I accomplished all the steps explained from #1 to #3.

I would like to add, that to make it easier to find the hidden files &quot;php.ini&quot; and hidden directories, i used the software ONYX and i asked it to make hidden files and directories visible.

Regards.</description>
		<content:encoded><![CDATA[<p>Brilliant ! After hours of configuring mysql under Leopard with no success, your solution took me 5 minutes and it works with phpmyadmin !</p>
<p>Thank you very much ! I accomplished all the steps explained from #1 to #3.</p>
<p>I would like to add, that to make it easier to find the hidden files &#034;php.ini&#034; and hidden directories, i used the software ONYX and i asked it to make hidden files and directories visible.</p>
<p>Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hanafi</title>
		<link>http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/comment-page-1/#comment-766</link>
		<dc:creator>hanafi</dc:creator>
		<pubDate>Fri, 27 Jun 2008 02:42:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/#comment-766</guid>
		<description>This solved a headache I had for 2 days. You give not one but four solutions. Thanks. Leopard should have Mysql pre-installed just like PHP.</description>
		<content:encoded><![CDATA[<p>This solved a headache I had for 2 days. You give not one but four solutions. Thanks. Leopard should have Mysql pre-installed just like PHP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Null is Love &#187; Blog Archive &#187; Taming Leopard for PHP</title>
		<link>http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/comment-page-1/#comment-20</link>
		<dc:creator>Null is Love &#187; Blog Archive &#187; Taming Leopard for PHP</dc:creator>
		<pubDate>Wed, 19 Dec 2007 19:10:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/#comment-20</guid>
		<description>[...] a good explanation of your choices in how to fix it. I like solution #1 unless you have the time and energy to tackle [...]</description>
		<content:encoded><![CDATA[<p>[...] a good explanation of your choices in how to fix it. I like solution #1 unless you have the time and energy to tackle [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate</title>
		<link>http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/comment-page-1/#comment-11</link>
		<dc:creator>Nate</dc:creator>
		<pubDate>Thu, 29 Nov 2007 20:38:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/#comment-11</guid>
		<description>Thank you for this, it was very easy to find on google and helped out quickly.</description>
		<content:encoded><![CDATA[<p>Thank you for this, it was very easy to find on google and helped out quickly.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
