Unable to stop MySQL on MAC

Viewed 1383

Whenever I click on the "Stop MySQL Server" on mac, it either can't stop or just restart. However, rebooting will, but the minute I open the MySQL page, it starts up again! I tried kill, shutdown on terminal but to no avail...

2 Answers

try these 3 commands below:

brew services stop mysql
sudo launchctl unload /Library/LaunchDaemons/com.mysql.mysql.plist
sudo launchctl unload /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist
Related