Prova:
/usr/local/mysql/bin/mysqladmin -u root -p shutdown
Oppure:
sudo mysqld stop
Oppure:
sudo /usr/local/mysql/bin/mysqld stop
Oppure:
sudo mysql.server stop
Se installi Launchctl in OSX puoi provare:
MacPort
sudo launchctl unload -w /Library/LaunchDaemons/org.macports.mysql.plist
sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql.plist
Nota:questo è persistente dopo il riavvio.
Birra fatta in casa
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
Programma di installazione binario
sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop
sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
sudo /Library/StartupItems/MySQLCOM/MySQLCOM restart
L'ho trovato in:https://stackoverflow.com/a/102094/58768