mac terminal restart mysql code example
Example 1: mac restart mysql server
sudo /usr/local/mysql/support-files/mysql.server restart
Example 2: restart mysql mac
alias mysqlstart='sudo /usr/local/mysql/support-files/mysql.server start'
alias mysqlstop='sudo /usr/local/mysql/support-files/mysql.server stop'