1# mysql start/stop/restart
2# MAC
3$ cd /Applications/Ampps/mysql/bin
4$ mysql.server restart
5#Linux
6$ /etc/init.d/mysqld restart
7or
8$ service mysqld restart
9or
10$ systemctl restart mysqld
1alias mysqlstart='sudo /usr/local/mysql/support-files/mysql.server start'
2alias mysqlstop='sudo /usr/local/mysql/support-files/mysql.server stop'