MySQL not working on mountain lion I'm using mountain lion, I have installed MySQL. 

GUI



It shows MySQL is running, but when I type 

mysql --version 


It gives error "mysql: command not found"
export PATH="/usr/local/mysql/bin:$PATH"


in .bashrc or .bash_profile file (cd ~/.bash_profile)

This will tell your terminal where to find mysql command.