Apple Support Communities > Servers and Enterprise Software > Mac OS X Server v10.4 and earlier > Discussions
This discussion is archived
46089 Views 2 Replies Latest reply: Aug 4, 2007 4:25 AM by chewitt
Currently Being ModeratedJul 27, 2007 4:28 PM (in response to W SCOTT COLE JR)As I gradually began to suspect, this turned out to be a permissions problem. I added myself to group wheel using Netinfo Manager, changed permissions of the mysql directory in /var/mysql to 775, and possibly other things, but finally I can run mysqld_safe without it immediately quitting.G4
Currently Being ModeratedAug 4, 2007 4:25 AM (in response to W SCOTT COLE JR)I've just done a clean install of OSX Server and added the latest MYSQL packaged installer. Afterwards I found the lock file in /private/tmp/mysql.lock
The easiest way to solve this problem is to create a symbolic link so that the lock file appears to be in right place.
sudo mkdir mysql <== this assumes the directory is missing
sudo ln -s /private/tmp/mysql.sock mysql.sock
After this msql commands should work fine, and you've not fiddled with the security settings on users/groups.