<?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"
	>
<channel>
	<title>Comments on: PHP &#038; 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>
	<pubDate>Thu, 20 Nov 2008 20:48:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: jaffle</title>
		<link>http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/#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-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-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 "php.ini" 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 &#8220;php.ini&#8221; 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-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-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-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>
	<item>
		<title>By: insites &#187; Blog Archive &#187; MySQL in Leopard</title>
		<link>http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/#comment-5</link>
		<dc:creator>insites &#187; Blog Archive &#187; MySQL in Leopard</dc:creator>
		<pubDate>Thu, 08 Nov 2007 15:29:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/#comment-5</guid>
		<description>[...] beyondmac(dot)com [...]</description>
		<content:encoded><![CDATA[<p>[...] beyondmac(dot)com [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joannou Ng</title>
		<link>http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/#comment-4</link>
		<dc:creator>Joannou Ng</dc:creator>
		<pubDate>Fri, 02 Nov 2007 04:42:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.beyondmac.com/2007/10/30/php-mysql-on-leopard-mysqlsock-location/#comment-4</guid>
		<description>Migrating MySQL 5.0.45 to Mac OS X 10.5 Leopard
http://blog.tomatocheese.com/archives/2007/11/1/migrating_mysql_to_mac_os_x_leopard/</description>
		<content:encoded><![CDATA[<p>Migrating MySQL 5.0.45 to Mac OS X 10.5 Leopard<br />
<a href="http://blog.tomatocheese.com/archives/2007/11/1/migrating_mysql_to_mac_os_x_leopard/" rel="nofollow">http://blog.tomatocheese.com/archives/2007/11/1/migrating_mysql_to_mac_os_x_leopard/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
