I Installed XAMPP on OS X Mountain Lion and all was well, until I restarted my comp. Now when I try to start MySQL in the manager it won't start. The application log only shows "Starting MySQL Database...". When I try to do anything with mysql in terminal all I get is
- Code: Select all
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock' (61)
I've tried setting the permissions on the /Applications/XAMPP/xamppfiles/var/mysql/ directory as outlined in this post: http://community.apachefriends.org/f/viewtopic.php?t=23018 but still have the same problem.
Activity monitor shows no other MySQL processes running.
On a side note, I can't start apache from the control panel either. The application log shows this:
- Code: Select all
Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started
but it still says "stopped" in the manager and it is definitely not starting because http://localhost does not work in my browser. I can manage to start apache from terminal with 'apachectl start' but something is wrong if I can't start it in the manager right?
Oh and when I try to use /Applications/XAMPP/xamppfiles/xampp I get
- Code: Select all
XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.
Seriously!?!?