stop mysql server mac
snippet in sql

restart mysql

user3236

 1. sudo /etc/init.d/mysql restart

 2. # service mysql restart

restart mysql mac

user6076

alias mysqlstart='sudo /usr/local/mysql/support-files/mysql.server start'
alias mysqlstop='sudo /usr/local/mysql/support-files/mysql.server stop' 

stop mysql server mac

user7509

brew services stop mysql
brew services start mysql
brew services restart mysql