mac mysql server starting and code example
Example 1: start mysql server mac
sudo mysql.server start
Example 2: how to start my sql server on mac
alias mysqlstart='sudo /usr/local/mysql/support-files/mysql.server start'
alias mysqlstop='sudo /usr/local/mysql/support-files/mysql.server stop'