start mysql server mac terminal code example
Example 1: start mysql server mac
sudo mysql.server start
Example 2: restart mysql mac
alias mysqlstart='sudo /usr/local/mysql/support-files/mysql.server start'
alias mysqlstop='sudo /usr/local/mysql/support-files/mysql.server stop'
Example 3: how to start mysql in terminal mac
mysql -u root -p
Example 4: how to run mysql on terminal mac
sudo sh -c 'echo /usr/local/mysql/bin > /etc/paths.d/mysql'