<?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 PHP, MySQL, and Apache in Mac OSX Leopard</title>
	<atom:link href="http://superfancy.net/coding/php-mysql-apache-in-mac-osx-leopard/feed/" rel="self" type="application/rss+xml" />
	<link>http://superfancy.net/coding/php-mysql-apache-in-mac-osx-leopard/</link>
	<description>version .02: slowly getting there</description>
	<lastBuildDate>Sat, 06 Mar 2010 11:18:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jim</title>
		<link>http://superfancy.net/coding/php-mysql-apache-in-mac-osx-leopard/comment-page-2/#comment-309</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Sat, 06 Mar 2010 11:18:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.steviebenge.com/?p=33#comment-309</guid>
		<description>So, some progress.

I completely unistalled mysql by following this http://akrabat.com/computing/uninstalling-mysql-on-mac-os-x-leopard/

I then reinstalled mysql-5.1.44-osx10.5-x86.dmg and installed the startup items and the pref pane.

I could then start/stop mysql either through the pref pane or using the Terminal commands:
sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop

Green &quot;running&quot; in the MySQL Pref Pane. Cool!

From this point I continued on with your tutorial&quot;Getting MySQL and PHP to communicate&quot; and create the my.cnf. Just as soon as I create it, the MySQL server stopped and cannot be started unless I remove the my.cnf file.

So, this is where I am now stuck. Ideas?</description>
		<content:encoded><![CDATA[<p>So, some progress.</p>
<p>I completely unistalled mysql by following this <a href="http://akrabat.com/computing/uninstalling-mysql-on-mac-os-x-leopard/" rel="nofollow">http://akrabat.com/computing/uninstalling-mysql-on-mac-os-x-leopard/</a></p>
<p>I then reinstalled mysql-5.1.44-osx10.5-x86.dmg and installed the startup items and the pref pane.</p>
<p>I could then start/stop mysql either through the pref pane or using the Terminal commands:<br />
sudo /Library/StartupItems/MySQLCOM/MySQLCOM start<br />
sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop</p>
<p>Green &#8220;running&#8221; in the MySQL Pref Pane. Cool!</p>
<p>From this point I continued on with your tutorial&#8221;Getting MySQL and PHP to communicate&#8221; and create the my.cnf. Just as soon as I create it, the MySQL server stopped and cannot be started unless I remove the my.cnf file.</p>
<p>So, this is where I am now stuck. Ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://superfancy.net/coding/php-mysql-apache-in-mac-osx-leopard/comment-page-2/#comment-308</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Sat, 06 Mar 2010 10:09:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.steviebenge.com/?p=33#comment-308</guid>
		<description>I&#039;m still struggling with getting the mysql to work via prefpane. I think I&#039;ve messed up the prefpane. I somehow ended up with two mysql icons in the system pref panel. In my frustration I just dragged one of the icons to the trash. Now I get an error message when I click the other one. I rebooted. Back in the system pref panel it now shows a gearbox icon instead of a mysql icon. When I clicked it, it showed &quot;Loading com.mysql.MYSQL&quot; then an error window opened that says &quot;Preferences Error: You cannot open com.mysql.MySQL preferences becasue ti doesn&#039;t work on an Intel-vbased Mac.&#039; SO I just closed it and went searching online.

I found this bug report. http://bugs.mysql.com/bug.php?id=28854 I read the post about:
**************
I could not start up the server using the Preference Pane, however. I had to run
&quot;/Library/StartupItems/MySQLCOM/MySQLCOM start&quot; manually. Then I could connect with the
CLI client without any problems.

Once started, I could not stop the server using the Preference Pane either. However,
stopping it from the CLI with &quot;/Library/StartupItems/MySQLCOM/MySQLCOM stop&quot; worked
fine.
***************
I really don&#039;t know at this point what I&#039;m doing. BUt to hell with it, I tried those start and stop commands in Term and so far as I know they were accepted.

imac:~ jim$ /Library/StartupItems/MySQLCOM/MySQLCOM stop
Stopping MySQL database server
imac:~ jim$ 

Maybe that solves my problem, maybe not. I do know that I now have a problem with that mysql icon in the Systems Panel. I&#039;m thinking I should just completely dump mysql off the computer and start over. But I don&#039;t know how to do that either. More reading to do.

I thought mac&#039;s were suppose to make my life easier.</description>
		<content:encoded><![CDATA[<p>I&#8217;m still struggling with getting the mysql to work via prefpane. I think I&#8217;ve messed up the prefpane. I somehow ended up with two mysql icons in the system pref panel. In my frustration I just dragged one of the icons to the trash. Now I get an error message when I click the other one. I rebooted. Back in the system pref panel it now shows a gearbox icon instead of a mysql icon. When I clicked it, it showed &#8220;Loading com.mysql.MYSQL&#8221; then an error window opened that says &#8220;Preferences Error: You cannot open com.mysql.MySQL preferences becasue ti doesn&#8217;t work on an Intel-vbased Mac.&#8217; SO I just closed it and went searching online.</p>
<p>I found this bug report. <a href="http://bugs.mysql.com/bug.php?id=28854" rel="nofollow">http://bugs.mysql.com/bug.php?id=28854</a> I read the post about:<br />
**************<br />
I could not start up the server using the Preference Pane, however. I had to run<br />
&#8220;/Library/StartupItems/MySQLCOM/MySQLCOM start&#8221; manually. Then I could connect with the<br />
CLI client without any problems.</p>
<p>Once started, I could not stop the server using the Preference Pane either. However,<br />
stopping it from the CLI with &#8220;/Library/StartupItems/MySQLCOM/MySQLCOM stop&#8221; worked<br />
fine.<br />
***************<br />
I really don&#8217;t know at this point what I&#8217;m doing. BUt to hell with it, I tried those start and stop commands in Term and so far as I know they were accepted.</p>
<p>imac:~ jim$ /Library/StartupItems/MySQLCOM/MySQLCOM stop<br />
Stopping MySQL database server<br />
imac:~ jim$ </p>
<p>Maybe that solves my problem, maybe not. I do know that I now have a problem with that mysql icon in the Systems Panel. I&#8217;m thinking I should just completely dump mysql off the computer and start over. But I don&#8217;t know how to do that either. More reading to do.</p>
<p>I thought mac&#8217;s were suppose to make my life easier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stevie</title>
		<link>http://superfancy.net/coding/php-mysql-apache-in-mac-osx-leopard/comment-page-2/#comment-306</link>
		<dc:creator>Stevie</dc:creator>
		<pubDate>Tue, 16 Feb 2010 17:44:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.steviebenge.com/?p=33#comment-306</guid>
		<description>Jim... I sent you an email.</description>
		<content:encoded><![CDATA[<p>Jim&#8230; I sent you an email.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://superfancy.net/coding/php-mysql-apache-in-mac-osx-leopard/comment-page-2/#comment-305</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Tue, 16 Feb 2010 12:18:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.steviebenge.com/?p=33#comment-305</guid>
		<description>Stevie,
I&#039;m stuck at trying to get MYSQL to start either in the pref panel or in terminal. The Pref panel prompts for the password, I enter it and nothing happens. In terminal:
imac:~ myname$ sudo /usr/local/mysql/support-files/mysql.server start
Password:
Starting MySQL
...... ERROR! Manager of pid-file quit without updating file. 

When I first d//l the mysql and installed it yesterday it was working because I even had the widget on the dashboard showing server local status running a green line graph.

I&#039;ve kept a text file of what I&#039;ve done. Can I email you?

THanks,
Jim</description>
		<content:encoded><![CDATA[<p>Stevie,<br />
I&#8217;m stuck at trying to get MYSQL to start either in the pref panel or in terminal. The Pref panel prompts for the password, I enter it and nothing happens. In terminal:<br />
imac:~ myname$ sudo /usr/local/mysql/support-files/mysql.server start<br />
Password:<br />
Starting MySQL<br />
&#8230;&#8230; ERROR! Manager of pid-file quit without updating file. </p>
<p>When I first d//l the mysql and installed it yesterday it was working because I even had the widget on the dashboard showing server local status running a green line graph.</p>
<p>I&#8217;ve kept a text file of what I&#8217;ve done. Can I email you?</p>
<p>THanks,<br />
Jim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://superfancy.net/coding/php-mysql-apache-in-mac-osx-leopard/comment-page-2/#comment-304</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Tue, 16 Feb 2010 12:04:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.steviebenge.com/?p=33#comment-304</guid>
		<description>Stevie,
Thanks for the prompt reply. I&#039;m not on SnowLeopard yet. I&#039;m currently running 10.5.8 (I should have mentioned that earlier). I downloaded mysql-5.1.43-osx10.5-x86_64.dmg, mysql-gui-tools-5.0-r12-osx10.4-universal.dmg

When I first started this process, I could not even edit httpd.conf so I found a tip online about using pico in Terminal and that worked just fine. 

1. Open terminal.
2. sudo pico /etc/apache2/httpd.conf
3. Make changes and save.

So I assumed I could do the same with the hosts file. Now yesterday I could not do that. This morning I could. Go figure. Obviously a finger problem :) So now my /etc/hosts file looks like this:

#
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1       localhost
255.255.255.255 broadcasthost
::1             localhost
fe80::1%lo0     localhost
127.0.0.1       myname.dev

Is that right? Two 127.0.0.1 listed? Anyway, I&#039;m rolling through the steps again to see what happens.

Thanks,
Jim</description>
		<content:encoded><![CDATA[<p>Stevie,<br />
Thanks for the prompt reply. I&#8217;m not on SnowLeopard yet. I&#8217;m currently running 10.5.8 (I should have mentioned that earlier). I downloaded mysql-5.1.43-osx10.5-x86_64.dmg, mysql-gui-tools-5.0-r12-osx10.4-universal.dmg</p>
<p>When I first started this process, I could not even edit httpd.conf so I found a tip online about using pico in Terminal and that worked just fine. </p>
<p>1. Open terminal.<br />
2. sudo pico /etc/apache2/httpd.conf<br />
3. Make changes and save.</p>
<p>So I assumed I could do the same with the hosts file. Now yesterday I could not do that. This morning I could. Go figure. Obviously a finger problem <img src='http://superfancy.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So now my /etc/hosts file looks like this:</p>
<p>#<br />
# Host Database<br />
#<br />
# localhost is used to configure the loopback interface<br />
# when the system is booting.  Do not change this entry.<br />
##<br />
127.0.0.1       localhost<br />
255.255.255.255 broadcasthost<br />
::1             localhost<br />
fe80::1%lo0     localhost<br />
127.0.0.1       myname.dev</p>
<p>Is that right? Two 127.0.0.1 listed? Anyway, I&#8217;m rolling through the steps again to see what happens.</p>
<p>Thanks,<br />
Jim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stevie</title>
		<link>http://superfancy.net/coding/php-mysql-apache-in-mac-osx-leopard/comment-page-2/#comment-303</link>
		<dc:creator>Stevie</dc:creator>
		<pubDate>Tue, 16 Feb 2010 04:21:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.steviebenge.com/?p=33#comment-303</guid>
		<description>Hi Jim. First off, you must have Administrator rights to edit and save UNIX files. Make sure your user account includes admin rights. If you&#039;re on Snow Leopard, I had a similar problem where Coda (as well as TextEdit) wouldn&#039;t allow me to save UNIX files either. I rectified the problem by purchasing a copy of TextMate. This was right when Snow Leopard came out so this may issue may have been rectified. I think I may have just edited the &lt;code&gt;hosts&lt;/code&gt; file with Terminal before I purchased TextMate.

Yes you are correct... MacHDD/etc/hosts and MacHDD/private/etc/hosts are the same. The former is just a symbolic link to the latter.

As for your MySQL issues, I would reinstall to be sure it is installed correctly. Luckily I&#039;ve never really had any weird issues with MySQL on any of my computers so I have almost no experience in debugging it. Again if you&#039;re on Snow Leopard, make sure you install the 64-bit version. Good Luck...</description>
		<content:encoded><![CDATA[<p>Hi Jim. First off, you must have Administrator rights to edit and save UNIX files. Make sure your user account includes admin rights. If you&#8217;re on Snow Leopard, I had a similar problem where Coda (as well as TextEdit) wouldn&#8217;t allow me to save UNIX files either. I rectified the problem by purchasing a copy of TextMate. This was right when Snow Leopard came out so this may issue may have been rectified. I think I may have just edited the <code>hosts</code> file with Terminal before I purchased TextMate.</p>
<p>Yes you are correct&#8230; MacHDD/etc/hosts and MacHDD/private/etc/hosts are the same. The former is just a symbolic link to the latter.</p>
<p>As for your MySQL issues, I would reinstall to be sure it is installed correctly. Luckily I&#8217;ve never really had any weird issues with MySQL on any of my computers so I have almost no experience in debugging it. Again if you&#8217;re on Snow Leopard, make sure you install the 64-bit version. Good Luck&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://superfancy.net/coding/php-mysql-apache-in-mac-osx-leopard/comment-page-2/#comment-302</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Tue, 16 Feb 2010 02:35:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.steviebenge.com/?p=33#comment-302</guid>
		<description>Hi,

Good tutorial but I&#039;m stuck at trying to edit the /etc/hosts file. I can open the file using pico and edit but I can&#039;t save the file. Must be a permissions thing but I checked the file permissions of the etc folder and it does say system: read/write. Can you help? I have another question too...you say edit the etc/hosts file but is that the mMacHDD/etc/hosts or is it the MacHDD/private/etc/hosts ? Or are they the same?

I skipped that section and proceed through to get php to work.Then I worked on mysql but I can&#039;t get it to start in either the admin pane or the terminal. In teh erminal I get this:

imac:~ me$ sudo /usr/local/mysql/support-files/mysql.server stop
 ERROR! MySQL manager or server PID file could not be found!
imac:~ me$ sudo /usr/local/mysql/support-files/mysql.server start
Starting MySQL
...... ERROR! Manager of pid-file quit without updating file.

 
Comments or ideas?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Good tutorial but I&#8217;m stuck at trying to edit the /etc/hosts file. I can open the file using pico and edit but I can&#8217;t save the file. Must be a permissions thing but I checked the file permissions of the etc folder and it does say system: read/write. Can you help? I have another question too&#8230;you say edit the etc/hosts file but is that the mMacHDD/etc/hosts or is it the MacHDD/private/etc/hosts ? Or are they the same?</p>
<p>I skipped that section and proceed through to get php to work.Then I worked on mysql but I can&#8217;t get it to start in either the admin pane or the terminal. In teh erminal I get this:</p>
<p>imac:~ me$ sudo /usr/local/mysql/support-files/mysql.server stop<br />
 ERROR! MySQL manager or server PID file could not be found!<br />
imac:~ me$ sudo /usr/local/mysql/support-files/mysql.server start<br />
Starting MySQL<br />
&#8230;&#8230; ERROR! Manager of pid-file quit without updating file.</p>
<p>Comments or ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Configured my mac as a testing web host &#171; Littlegreymouse&#39;s Blog</title>
		<link>http://superfancy.net/coding/php-mysql-apache-in-mac-osx-leopard/comment-page-2/#comment-295</link>
		<dc:creator>Configured my mac as a testing web host &#171; Littlegreymouse&#39;s Blog</dc:creator>
		<pubDate>Mon, 18 Jan 2010 08:47:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.steviebenge.com/?p=33#comment-295</guid>
		<description>[...] followed the instructions on http://superfancy.net/coding/php-mysql-apache-in-mac-osx-leopard/ I saved a copy of this as &#8220;Setting up PHP, MySQL, and Apache in Mac OSX Leopard · [...]</description>
		<content:encoded><![CDATA[<p>[...] followed the instructions on <a href="http://superfancy.net/coding/php-mysql-apache-in-mac-osx-leopard/" rel="nofollow">http://superfancy.net/coding/php-mysql-apache-in-mac-osx-leopard/</a> I saved a copy of this as &#8220;Setting up PHP, MySQL, and Apache in Mac OSX Leopard · [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Augusto</title>
		<link>http://superfancy.net/coding/php-mysql-apache-in-mac-osx-leopard/comment-page-2/#comment-280</link>
		<dc:creator>Augusto</dc:creator>
		<pubDate>Wed, 11 Nov 2009 14:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.steviebenge.com/?p=33#comment-280</guid>
		<description>Hi Again Stevie,

Thanks for your answer...

Im logged in as Administrator and still cannot edit the httpd.conf file. How can I give the Administrator account the rights to write/edit this file?

Im sorry, but besides that Im not a programmer I am new to Mac. :)

Thanks Again.</description>
		<content:encoded><![CDATA[<p>Hi Again Stevie,</p>
<p>Thanks for your answer&#8230;</p>
<p>Im logged in as Administrator and still cannot edit the httpd.conf file. How can I give the Administrator account the rights to write/edit this file?</p>
<p>Im sorry, but besides that Im not a programmer I am new to Mac. <img src='http://superfancy.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks Again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stevie</title>
		<link>http://superfancy.net/coding/php-mysql-apache-in-mac-osx-leopard/comment-page-2/#comment-278</link>
		<dc:creator>Stevie</dc:creator>
		<pubDate>Wed, 11 Nov 2009 06:23:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.steviebenge.com/?p=33#comment-278</guid>
		<description>@Augusto: Yes that is correct... you need to be logged in as an Administrator to make changes to system files.</description>
		<content:encoded><![CDATA[<p>@Augusto: Yes that is correct&#8230; you need to be logged in as an Administrator to make changes to system files.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
