1、启动mysql

sudo /usr/local/mysql/support-files/mysql.server start

2、停止mysql

sudo /usr/local/mysql/support-files/mysql.server stop

3、重启mysql

sudo /usr/local/mysql/support-files/mysql.server restart