Wypróbuj:
/usr/local/mysql/bin/mysqladmin -u root -p shutdown
Lub:
sudo mysqld stop
Lub:
sudo /usr/local/mysql/bin/mysqld stop
Lub:
sudo mysql.server stop
Jeśli zainstalujesz Launchctl w OSX możesz spróbować:
Porty Mac
sudo launchctl unload -w /Library/LaunchDaemons/org.macports.mysql.plist
sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql.plist
Uwaga:jest to trwałe po ponownym uruchomieniu.
Piwo domowe
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
Instalator binarny
sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop
sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
sudo /Library/StartupItems/MySQLCOM/MySQLCOM restart
Znalazłem to w:https://stackoverflow.com/a/102094/58768