Zkuste:
/usr/local/mysql/bin/mysqladmin -u root -p shutdown
Nebo:
sudo mysqld stop
Nebo:
sudo /usr/local/mysql/bin/mysqld stop
Nebo:
sudo mysql.server stop
Pokud nainstalujete Launchctl v OSX můžete zkusit:
MacPorty
sudo launchctl unload -w /Library/LaunchDaemons/org.macports.mysql.plist
sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql.plist
Poznámka:toto je trvalé i po restartu.
Domácí jazyk
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
Binární instalační program
sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop
sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
sudo /Library/StartupItems/MySQLCOM/MySQLCOM restart
Našel jsem to v:https://stackoverflow.com/a/102094/58768