I recently installed MySQL on a new Mac OS 10.6.1 Snow Leopard system. MySQL seems to be running according to the control panel and the output of ps aux | grep mysql. However, on the command line the mysql command is not available because (I think) the dir /usr/local/mysql/bin is not in the PATH.
I could add this to /etc/bashrc...
export PATH=$PATH:/usr/local/mysql/bin
Yes, OK that worked.
But is that the right way to do it? Should I add it to /etc/profile instead? Or something else?