Commands to Start and Stop the MySQL Service on Mac OS X
Start the MySQL service
sudo /usr/local/mysql/support-files/mysql.server start
Stop the MySQL service
sudo /usr/local/mysql/support-files/mysql.server stop
Restart the MySQL service
sudo /usr/local/mysql/support-files/mysql.server restart