MySQL doesn’t stop on on Mac OS X 10.6

I have MySQL installed on Mac OS X 10.6 (Snow Leopard). The problem is that I cant stop the server. Its running all the time.

How can I solve that? I tried to install MySQL again, but this didn’t solve the problem. How about deinstalling the server? I read that I should turn the server of before deinstalling it, but that is exactly what I can’t do…

Hints?


Solution 1:

Did you try $ sudo mysqladmin shutdown?

If it's restarting itself, it might have a launchd job. You can use $ launchctl list to see every job on the system, perhaps $ launchctl list|grep mysql to see if this is the problem, and then find the file for the launchd job in one of the launchd plist directories, in this case, probably /Library/LaunchDaemons/.