/tmp/mysql.sock was missing because its in /Application/MAMP/temp/mysql/mysql.sock
http://www.fischerlaender.net/web-20/mac-os-x-trouble-with-mamp-mysql
Showing posts with label mamp. Show all posts
Showing posts with label mamp. Show all posts
Tuesday, January 4, 2011
Thursday, December 30, 2010
MAC Apache MySQL PHP
MAMP in short, is what most php developer is looking for on MAC.
First, get macport installed.
Then, follow this instruction here:
Make sure to disable the web sharing of MAC, which is default enabled.
And to start it, you will need to to run the daemons in /opt/local/etc/LaunchDaemons.
Example:
/opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start
/opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start
DocumentRoot is located @ /opt/local/apache2/htdocs
Configuration @ /opt/local/apache2/conf
Subscribe to:
Posts (Atom)