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