how to start mysql server from command line mac code example
Example 1: start mysql server mac
sudo mysql.server start
Example 2: how to run mysql on terminal mac
sudo sh -c 'echo /usr/local/mysql/bin > /etc/paths.d/mysql'
sudo mysql.server start
sudo sh -c 'echo /usr/local/mysql/bin > /etc/paths.d/mysql'