MAC Restart MySQL Server
sudo /usr/local/mysql/support-files/mysql.server restart
Clean Cardinal
sudo /usr/local/mysql/support-files/mysql.server restart
# mysql start/stop/restart
# MAC
$ cd /Applications/Ampps/mysql/bin
$ mysql.server restart
#Linux
$ /etc/init.d/mysqld restart
or
$ service mysqld restart
or
$ systemctl restart mysqld
alias mysqlstart='sudo /usr/local/mysql/support-files/mysql.server start'
alias mysqlstop='sudo /usr/local/mysql/support-files/mysql.server stop'