Skip to content

Instantly share code, notes, and snippets.

@aipi
Created February 7, 2017 02:10
Show Gist options
  • Save aipi/0bb68880a60e93e45e10df67f0b22c6b to your computer and use it in GitHub Desktop.
Save aipi/0bb68880a60e93e45e10df67f0b22c6b to your computer and use it in GitHub Desktop.
MySQL Start, Stop and Restart on MacOS
#To start MySQL:
$ sudo mysql.server start
#To stop MySQL:
$ sudo mysql.server stop
#To restart MySQL:
$ sudo mysql.server restart
@aipi
Copy link
Author

aipi commented Feb 7, 2017

Here are the three basic commands to start, stop, and restart MySQL in Mac OS X. Be sure to enter the command onto a single line, sudo obviously requires an administrator password to be entered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment