Probeer:
/usr/local/mysql/bin/mysqladmin -u root -p shutdown
Of:
sudo mysqld stop
Of:
sudo /usr/local/mysql/bin/mysqld stop
Of:
sudo mysql.server stop
Als u de Launchctl in OSX . installeert je kunt proberen:
MacPorts
sudo launchctl unload -w /Library/LaunchDaemons/org.macports.mysql.plist
sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql.plist
Let op:dit is aanhoudend na opnieuw opstarten.
Homebrew
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
Binair installatieprogramma
sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop
sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
sudo /Library/StartupItems/MySQLCOM/MySQLCOM restart
Ik vond dat in:https://stackoverflow.com/a/102094/58768