I have mysql installed on 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?

link|improve this question
1  
How does it start? This will show what user it is running as and what mechanism starts it – Mark Dec 14 '10 at 15:45
If you need root to do some actions, you will get ask for the root password. Mac handles this by itself... – Markus Dec 14 '10 at 15:45
you need to tell us how it starts, which is easier to know if you can tell us how it was installed in the first place. Was it MacPorts, a stand-alone package, or something else? – Randolph West Dec 14 '10 at 17:37
feedback

1 Answer

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/.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.