I just installed mysql from this site, and was successful with that. But when i tried to open with command mysql -u root -ppassword
on terminal it is showing -bash: mysql: command not found
But when i tried it like below i can able to login successfully in to mysql.
/usr/local/mysql/bin/mysql -u root -ppassword
So what i should i make to use just mysql
instead of /usr/local/mysql/bin/mysql
.
(By the way i am new to Mac)