<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Mac Apache MySQL PHP &#8211; MAMP</title>
	<atom:link href="http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/feed/" rel="self" type="application/rss+xml" />
	<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/</link>
	<description>TheAppleBlog, published by and for the day-to-day Apple user, is a prominent source for news, reviews, walkthroughs, and real life application of all Apple products.</description>
	<lastBuildDate>Sat, 21 Nov 2009 09:21:58 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jr</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-61213</link>
		<dc:creator>jr</dc:creator>
		<pubDate>Tue, 06 Oct 2009 18:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-61213</guid>
		<description>To view pages in MAMP&#039;s document root folder (htdocs), your browser needs to be pointed to &quot;http://localhost:8888/&quot;.  The 8888 port is the default port when MAMP is first installed (it can be changed in MAMP&#039;s preferences, but I wouldn&#039;t).  If you point your browser to just &quot;localhost&quot; it will try to connect to the Mac&#039;s built-in Apache server.</description>
		<content:encoded><![CDATA[<p>To view pages in MAMP&#8217;s document root folder (htdocs), your browser needs to be pointed to &#8220;http://localhost:8888/&#8221;.  The 8888 port is the default port when MAMP is first installed (it can be changed in MAMP&#8217;s preferences, but I wouldn&#8217;t).  If you point your browser to just &#8220;localhost&#8221; it will try to connect to the Mac&#8217;s built-in Apache server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-49182</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Sun, 05 Jul 2009 23:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-49182</guid>
		<description>I have been trying for 2 days to get this working and sadly I still failing miserably. I don&#039;t think MAMP is the problem, I have that installed and it all looks like its running happily, but I am just trying to test the file test.php:



but going to &quot;http://localhost/test.php&quot; leads to a page that says &quot;Index of /&quot; followed by a list starting with &quot;Java/, PoweredByMacOSX.gif, WebObjects/, apache pb.png&quot;

I have the file saved in htdocs. I am feeling hopelessly lost, any help will be appreciated.</description>
		<content:encoded><![CDATA[<p>I have been trying for 2 days to get this working and sadly I still failing miserably. I don&#8217;t think MAMP is the problem, I have that installed and it all looks like its running happily, but I am just trying to test the file test.php:</p>
<p>but going to &#8220;http://localhost/test.php&#8221; leads to a page that says &#8220;Index of /&#8221; followed by a list starting with &#8220;Java/, PoweredByMacOSX.gif, WebObjects/, apache pb.png&#8221;</p>
<p>I have the file saved in htdocs. I am feeling hopelessly lost, any help will be appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-44564</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sun, 07 Jun 2009 22:25:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-44564</guid>
		<description>ln -s doesn&#039;t work for MySQL WorkBench ;/ there is no custom socket path field anymore in advanced options too as in previous MySQL Tools.</description>
		<content:encoded><![CDATA[<p>ln -s doesn&#8217;t work for MySQL WorkBench ;/ there is no custom socket path field anymore in advanced options too as in previous MySQL Tools.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mediaguru @ Hooked On Golf Blog</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-41757</link>
		<dc:creator>mediaguru @ Hooked On Golf Blog</dc:creator>
		<pubDate>Mon, 11 May 2009 22:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-41757</guid>
		<description>Nope it doesn&#039;t interfere.  It is a completely separate install of the whole thing.  The &quot;pro&quot; version I believe lets you set up as many virtual servers as you want.</description>
		<content:encoded><![CDATA[<p>Nope it doesn&#8217;t interfere.  It is a completely separate install of the whole thing.  The &#8220;pro&#8221; version I believe lets you set up as many virtual servers as you want.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nolan Nadesan</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-41750</link>
		<dc:creator>nolan Nadesan</dc:creator>
		<pubDate>Mon, 11 May 2009 21:18:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-41750</guid>
		<description>does MAMP interfere with previous installations of MySQL and Apache?
im running this on a MAC. os x 10.5</description>
		<content:encoded><![CDATA[<p>does MAMP interfere with previous installations of MySQL and Apache?<br />
im running this on a MAC. os x 10.5</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mediaguru @ Hooked On Golf Blog</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-38542</link>
		<dc:creator>mediaguru @ Hooked On Golf Blog</dc:creator>
		<pubDate>Sat, 18 Apr 2009 17:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-38542</guid>
		<description>This is incredible.  I&#039;ve been messing around with mysql and apache on my G5 for two days.  Finally got it running, then I screwed up one file and brought the whole mysql system down.  I&#039;ve fried my brain for two days.

So in trying to debug and fix what I did, I found MAMP.  In THREE mouse clicks I had an apache/mysql/php system running perfectly.  I could have saved two DAYS if I found it sooner!</description>
		<content:encoded><![CDATA[<p>This is incredible.  I&#8217;ve been messing around with mysql and apache on my G5 for two days.  Finally got it running, then I screwed up one file and brought the whole mysql system down.  I&#8217;ve fried my brain for two days.</p>
<p>So in trying to debug and fix what I did, I found MAMP.  In THREE mouse clicks I had an apache/mysql/php system running perfectly.  I could have saved two DAYS if I found it sooner!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-34827</link>
		<dc:creator>Jesse</dc:creator>
		<pubDate>Tue, 17 Mar 2009 03:44:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-34827</guid>
		<description>Oops, I guess code is not allowed. I triple checked my code against the book, and I like I said, it works on a commercial server with the exact same configurations.</description>
		<content:encoded><![CDATA[<p>Oops, I guess code is not allowed. I triple checked my code against the book, and I like I said, it works on a commercial server with the exact same configurations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-34826</link>
		<dc:creator>Jesse</dc:creator>
		<pubDate>Tue, 17 Mar 2009 03:42:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-34826</guid>
		<description>Please help. I have MAMP installed and I am trying to run a basic php script using an include statement and it does not work. If I upload this code to a server (GoDaddy), it executes just fine. 
Here is the entire output when the page loads:

Test Page

Hello, World.

Warning: include(includes/footer.php): failed to open stream: No such file or directory in /- on line 15 Warning: include(): Failed opening &#039;includes/footer.php&#039; for inclusion (include_path=&#039;.:&#039;) in /- on line 15

Here is my code for this page:




Test Page



	
			Test Page
			
	&#160;
			

	



I am a newbie to php, and trying to work through some basic tutorials. Any help would be greatly appreciated. Thanks in advance!!</description>
		<content:encoded><![CDATA[<p>Please help. I have MAMP installed and I am trying to run a basic php script using an include statement and it does not work. If I upload this code to a server (GoDaddy), it executes just fine.<br />
Here is the entire output when the page loads:</p>
<p>Test Page</p>
<p>Hello, World.</p>
<p>Warning: include(includes/footer.php): failed to open stream: No such file or directory in /- on line 15 Warning: include(): Failed opening &#8216;includes/footer.php&#8217; for inclusion (include_path=&#8217;.:&#8217;) in /- on line 15</p>
<p>Here is my code for this page:</p>
<p>Test Page</p>
<p>			Test Page</p>
<p>	&nbsp;</p>
<p>I am a newbie to php, and trying to work through some basic tutorials. Any help would be greatly appreciated. Thanks in advance!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeremy wyss</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1165</link>
		<dc:creator>jeremy wyss</dc:creator>
		<pubDate>Mon, 21 Apr 2008 15:51:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1165</guid>
		<description>you should check out the extension i got from peakstudios.com it did all the busy work for me and i knew it was done correctly.. when it comes to do data bases i am lets say a moron and this AS3 extension was my savior. it did everything for me!!</description>
		<content:encoded><![CDATA[<p>you should check out the extension i got from peakstudios.com it did all the busy work for me and i knew it was done correctly.. when it comes to do data bases i am lets say a moron and this AS3 extension was my savior. it did everything for me!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fran Westley</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1164</link>
		<dc:creator>Fran Westley</dc:creator>
		<pubDate>Sun, 20 Apr 2008 01:23:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1164</guid>
		<description>Can anyone help?  I an trying to run Moodle on an old OSX server machine (OS 10.2.8) and when I try to run MAMP is just quits on me.  I thought maybe the version of MAMP is too high for the OS????  Any suggestions would be greatly appreciated.</description>
		<content:encoded><![CDATA[<p>Can anyone help?  I an trying to run Moodle on an old OSX server machine (OS 10.2.8) and when I try to run MAMP is just quits on me.  I thought maybe the version of MAMP is too high for the OS????  Any suggestions would be greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Collin L</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1163</link>
		<dc:creator>Collin L</dc:creator>
		<pubDate>Mon, 04 Feb 2008 23:20:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1163</guid>
		<description>I have recently set up my MAMP DynDNS site. At first it was a little confusing, but finally i got me connected through to the internet so my friends could view the pages on my mac. But about...Oh say a week ago, I happened to take a look at the DynDNS Updater app I have (or I suppose had would work better) running in unison to MAMP. I could either connect via the &#039;default (my ip address)&#039;, or the &#039;web-based IP Detection (my ip address)&#039; interface. Either one would connect my friends at different ip addresses to my site. Now, I get this error message saying, &#039;HTTPS Error: peer certificate cannot be authenticated with known CA certificates.&#039;
Any ideas?</description>
		<content:encoded><![CDATA[<p>I have recently set up my MAMP DynDNS site. At first it was a little confusing, but finally i got me connected through to the internet so my friends could view the pages on my mac. But about&#8230;Oh say a week ago, I happened to take a look at the DynDNS Updater app I have (or I suppose had would work better) running in unison to MAMP. I could either connect via the &#8216;default (my ip address)&#8217;, or the &#8216;web-based IP Detection (my ip address)&#8217; interface. Either one would connect my friends at different ip addresses to my site. Now, I get this error message saying, &#8216;HTTPS Error: peer certificate cannot be authenticated with known CA certificates.&#8217;<br />
Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Squires</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1162</link>
		<dc:creator>Rick Squires</dc:creator>
		<pubDate>Thu, 25 Jan 2007 23:15:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1162</guid>
		<description>Hi

I&#039;ve tried using MAMP with PHP pages generated using Rapidweaver(don&#039;t know PHP so this seeemed a good place to start).  I&#039;m trying to use a very simple contact form, but I get the following error in the PHP logfile:

 PHP Notice:  Undefined variable:  tmp_name in /Applications/MAMP/htdocs/Sites/MFL/page11/files/mailer.php on line 25

Line 25 in the .php file has absolutely nothing to do with this:

&lt;!-- Start page header --&gt;

I downloaded MAMP a few days ago, so I guess I&#039;m running the latest version on an Intel iMac (10.4.8 with all the latest security updates running)

I have tried both PHP 4 and 5 from the widget, with the same results

I&#039;m probably missing something very simple, but any pointers would be much appreciated!

Help!</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I&#8217;ve tried using MAMP with PHP pages generated using Rapidweaver(don&#8217;t know PHP so this seeemed a good place to start).  I&#8217;m trying to use a very simple contact form, but I get the following error in the PHP logfile:</p>
<p> PHP Notice:  Undefined variable:  tmp_name in /Applications/MAMP/htdocs/Sites/MFL/page11/files/mailer.php on line 25</p>
<p>Line 25 in the .php file has absolutely nothing to do with this:</p>
<p><!-- Start page header --></p>
<p>I downloaded MAMP a few days ago, so I guess I&#8217;m running the latest version on an Intel iMac (10.4.8 with all the latest security updates running)</p>
<p>I have tried both PHP 4 and 5 from the widget, with the same results</p>
<p>I&#8217;m probably missing something very simple, but any pointers would be much appreciated!</p>
<p>Help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kemp</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1161</link>
		<dc:creator>Kemp</dc:creator>
		<pubDate>Fri, 24 Nov 2006 04:56:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1161</guid>
		<description>The symlink fix mentioned above is temporary.

A symbolic link in /tmp is not persistent across reboots. One can:
1. Create the symbolic link at the command line immediately before starting Apache and MySQL:

$ ln -s /Applications/mampstack-5.5/mysql/tmp/mysql.sock mysql.sock
$ /Applications/mampstack-5.5/mampctl.sh start apache
$ /Applications/mampstack-5.5/mampctl.sh start mysql

or

2. create a startup script to recreate it. To do this you create a simple shell script to do it and then set it to run at startup by editing /etc/ttys (after saving the original version)
(see the following links: http://docs.info.apple.com/article.html?artnum=301446 http://www.bombich.com/mactips/loginhooks.html)

or

3. Go with the BitRock solution in their email for the time being until release 5.6 is out with a fix for this.

I have used each of these approaches and can confirm that they work. It is not a big deal in any case. Simply pick what you prefer and go with it.

Kemp</description>
		<content:encoded><![CDATA[<p>The symlink fix mentioned above is temporary.</p>
<p>A symbolic link in /tmp is not persistent across reboots. One can:<br />
1. Create the symbolic link at the command line immediately before starting Apache and MySQL:</p>
<p>$ ln -s /Applications/mampstack-5.5/mysql/tmp/mysql.sock mysql.sock<br />
$ /Applications/mampstack-5.5/mampctl.sh start apache<br />
$ /Applications/mampstack-5.5/mampctl.sh start mysql</p>
<p>or</p>
<p>2. create a startup script to recreate it. To do this you create a simple shell script to do it and then set it to run at startup by editing /etc/ttys (after saving the original version)<br />
(see the following links: <a href="http://docs.info.apple.com/article.html?artnum=301446" rel="nofollow">http://docs.info.apple.com/article.html?artnum=301446</a> <a href="http://www.bombich.com/mactips/loginhooks.html)" rel="nofollow">http://www.bombich.com/mactips/loginhooks.html)</a></p>
<p>or</p>
<p>3. Go with the BitRock solution in their email for the time being until release 5.6 is out with a fix for this.</p>
<p>I have used each of these approaches and can confirm that they work. It is not a big deal in any case. Simply pick what you prefer and go with it.</p>
<p>Kemp</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kemp</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1160</link>
		<dc:creator>Kemp</dc:creator>
		<pubDate>Mon, 16 Oct 2006 11:53:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1160</guid>
		<description>I received a prompt response from BitRock as included below.

Kemp

---

Thank you for interest in MAMPStack, and inform us of this problem.
You need run the mysql programs adding the following option:

--socket=/Applications/mampstack-5.5/mysql/tmp/mysql.sock

For example:
/Applications/mampstack-5.5/mysql/bin/mysqladmin
--socket=/Applications/mampstack-5.5/mysql/tmp/mysql.sock -p version

This is currently wrong in our documentation, but we have fixed this for
the next release of MAMPStack.

Thanks!
Ana
--
BitRock Support
support@bitrock.com</description>
		<content:encoded><![CDATA[<p>I received a prompt response from BitRock as included below.</p>
<p>Kemp</p>
<p>&#8212;</p>
<p>Thank you for interest in MAMPStack, and inform us of this problem.<br />
You need run the mysql programs adding the following option:</p>
<p>&#8211;socket=/Applications/mampstack-5.5/mysql/tmp/mysql.sock</p>
<p>For example:<br />
/Applications/mampstack-5.5/mysql/bin/mysqladmin<br />
&#8211;socket=/Applications/mampstack-5.5/mysql/tmp/mysql.sock -p version</p>
<p>This is currently wrong in our documentation, but we have fixed this for<br />
the next release of MAMPStack.</p>
<p>Thanks!<br />
Ana<br />
&#8211;<br />
BitRock Support<br />
<a href="mailto:support@bitrock.com">support@bitrock.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kemp</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1159</link>
		<dc:creator>Kemp</dc:creator>
		<pubDate>Sat, 14 Oct 2006 21:45:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1159</guid>
		<description>Let me also mention that I use TinkerTool (avilable free at http://www.bresink.com/osx/TinkerTool.html) to make hidden directories and files appear in the Finder. When hunting for files this can be very handy, especially since SpotLight failed to find files like mysql.sock and I had to find them manually (one could also use Terminal to find them at the command line but I preferred the GUI). I just turn on the hidden files when I need to, and relaunch the Finder. I switch it back when I am done.

Kemp</description>
		<content:encoded><![CDATA[<p>Let me also mention that I use TinkerTool (avilable free at <a href="http://www.bresink.com/osx/TinkerTool.html)" rel="nofollow">http://www.bresink.com/osx/TinkerTool.html)</a> to make hidden directories and files appear in the Finder. When hunting for files this can be very handy, especially since SpotLight failed to find files like mysql.sock and I had to find them manually (one could also use Terminal to find them at the command line but I preferred the GUI). I just turn on the hidden files when I need to, and relaunch the Finder. I switch it back when I am done.</p>
<p>Kemp</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kemp</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1158</link>
		<dc:creator>Kemp</dc:creator>
		<pubDate>Sat, 14 Oct 2006 19:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1158</guid>
		<description>Though either MAMP or MAMPStack should be pretty equivalent, I downloaded and installed MAMPStack 5.5 since the versions were a tad newer and it had Python as well. It went smoothly with one important issue which I was able to resolve as detailed here.

After the install, the Apache test went fine. Starting MySQL went fine. But verifying that it was up with the following:

Prompt&gt; /Applications/mampstack-5.5/mysql/bin/mysqladmin -p
version

Returned the following:

/Applications/mampstack-5.5/mysql/bin/mysqladmin: connect to server at &#039;localhost&#039; failed
error: &#039;Can&#039;t connect to local MySQL server through socket &#039;/tmp/mysql.sock&#039; (2)&#039;
Check that mysqld is running and that the socket: &#039;/tmp/mysql.sock&#039; exists!

The configuration was looking in /tmp for the MySQL socket, which actually was to be found in:
/Applications/mampstack-5.5/mysql/tmp/mysql.sock

I cd&#039;d to the /tmp directory and created a symbolic link to the   actual location of the file:

ln -s /Applications/mampstack-5.5/mysql/tmp/mysql.sock mysql.sock

That provided the key link and everything worked.

It is as though the programs in /mysql/bin/ are hard-coded to look in /tmp for mysql.sock. They must be configurable but I haven&#039;t figured it out yet. In any case, the symbolic link fix is simple and works even if it&#039;s a bit of kludge.

Perhaps this would not be an issue with MAMP. But I think I had to deal with a similar issue during the install of MySQL 4 so it may be a more general issue.

I hope this is useful.

Kemp</description>
		<content:encoded><![CDATA[<p>Though either MAMP or MAMPStack should be pretty equivalent, I downloaded and installed MAMPStack 5.5 since the versions were a tad newer and it had Python as well. It went smoothly with one important issue which I was able to resolve as detailed here.</p>
<p>After the install, the Apache test went fine. Starting MySQL went fine. But verifying that it was up with the following:</p>
<p>Prompt&gt; /Applications/mampstack-5.5/mysql/bin/mysqladmin -p<br />
version</p>
<p>Returned the following:</p>
<p>/Applications/mampstack-5.5/mysql/bin/mysqladmin: connect to server at &#8216;localhost&#8217; failed<br />
error: &#8216;Can&#8217;t connect to local MySQL server through socket &#8216;/tmp/mysql.sock&#8217; (2)&#8217;<br />
Check that mysqld is running and that the socket: &#8216;/tmp/mysql.sock&#8217; exists!</p>
<p>The configuration was looking in /tmp for the MySQL socket, which actually was to be found in:<br />
/Applications/mampstack-5.5/mysql/tmp/mysql.sock</p>
<p>I cd&#8217;d to the /tmp directory and created a symbolic link to the   actual location of the file:</p>
<p>ln -s /Applications/mampstack-5.5/mysql/tmp/mysql.sock mysql.sock</p>
<p>That provided the key link and everything worked.</p>
<p>It is as though the programs in /mysql/bin/ are hard-coded to look in /tmp for mysql.sock. They must be configurable but I haven&#8217;t figured it out yet. In any case, the symbolic link fix is simple and works even if it&#8217;s a bit of kludge.</p>
<p>Perhaps this would not be an issue with MAMP. But I think I had to deal with a similar issue during the install of MySQL 4 so it may be a more general issue.</p>
<p>I hope this is useful.</p>
<p>Kemp</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1157</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sun, 01 Oct 2006 00:06:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1157</guid>
		<description>An alternate open source MAMP stack for OS X 10.3 and later: &lt;a href=&quot;http://bitrock.com/products_webstacks_overview.html&quot; rel=&quot;nofollow&quot;&gt;MAMPStack&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>An alternate open source MAMP stack for OS X 10.3 and later: <a href="http://bitrock.com/products_webstacks_overview.html" rel="nofollow">MAMPStack</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William Ryan</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1156</link>
		<dc:creator>William Ryan</dc:creator>
		<pubDate>Tue, 01 Aug 2006 01:23:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1156</guid>
		<description>I am having a problem with superglobals using MAMP. None of my FORM variables are being passed over to the php script. What do I have to do with MAMP to get these variables to work?

I would appreciate any advice.</description>
		<content:encoded><![CDATA[<p>I am having a problem with superglobals using MAMP. None of my FORM variables are being passed over to the php script. What do I have to do with MAMP to get these variables to work?</p>
<p>I would appreciate any advice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Donal</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1155</link>
		<dc:creator>Donal</dc:creator>
		<pubDate>Wed, 31 May 2006 00:39:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1155</guid>
		<description>Thanks for all the help.  The final solution was quite simple.  Once I determined that the first installation was still running in the background I trashed it and restarted the computer.  Everything back to Green Lights.  Yeh!

Donal</description>
		<content:encoded><![CDATA[<p>Thanks for all the help.  The final solution was quite simple.  Once I determined that the first installation was still running in the background I trashed it and restarted the computer.  Everything back to Green Lights.  Yeh!</p>
<p>Donal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kaliban</title>
		<link>http://theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1154</link>
		<dc:creator>kaliban</dc:creator>
		<pubDate>Sun, 28 May 2006 21:06:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.theappleblog.com/2005/03/23/mac-apache-mysql-php-mamp/#comment-1154</guid>
		<description>Oh, one more  thing. In some cases, further researching or implementing a solution to the problem will best be done at the command line. This means launching the &#039;Terminal&#039; application, opening a shell (terminal window), and begining to find your way around the linux/bsd back-end. If you find helpful hints from people using other linux like operating systems, and the directions they give you seem like command line instructions, you can try them out by opening a shell and typing them in. In that case, look for any linux introductory website to get oriented to the shell and the command line.

Good luck

-k</description>
		<content:encoded><![CDATA[<p>Oh, one more  thing. In some cases, further researching or implementing a solution to the problem will best be done at the command line. This means launching the &#8216;Terminal&#8217; application, opening a shell (terminal window), and begining to find your way around the linux/bsd back-end. If you find helpful hints from people using other linux like operating systems, and the directions they give you seem like command line instructions, you can try them out by opening a shell and typing them in. In that case, look for any linux introductory website to get oriented to the shell and the command line.</p>
<p>Good luck</p>
<p>-k</p>
]]></content:encoded>
	</item>
</channel>
</rss>
