
To start or stop MySQL on the Windows command line: If you’re running MySQL on Windows, you can either use the Command Line or the Services section in the Control Panel. Restart MySQL server: sudo /usr/local/mysql/support-files/rver restart Stop MySQL server: sudo /usr/local/mysql/support-files/rver stop

Start MySQL server: sudo /usr/local/mysql/support-files/rver start If you’re running a version of MySQL older than 5.7, your commands are slightly different.

Stop MySQL server: sudo launchctl unload -F /Library/LaunchDaemons/.ist Start MySQL server: sudo launchctl load -F /Library/LaunchDaemons/.ist Newer than 5.7įor MySQL version 5.7 and newer, open the Terminal and run the launchctl command. Version 5.7 came out in October 2015, so if you’ve downloaded it anytime in the last few years it’s most likely after 5.7. The commands you use depend on which version of MySQL you have: either before 5.7 or 5.7 and newer.

To start MySQL on Mac, you can use the command line.
