I have installed mysql in Mac OS X 10.6.6. However I don't know how to get to the mysql prompt.
Sarbbottam-Bandyopadhyays-MacBook-Pro:bin sarbbottam$ pwd
/usr/local/mysql/bin
Sarbbottam-Bandyopadhyays-MacBook-Pro:bin sarbbottam$ mysql
-bash: mysql: command not found
Sarbbottam-Bandyopadhyays-MacBook-Pro:bin sarbbottam$
Any thoughts?
Best Answer
If you already are in the
/usr/local/mysql/bin
directory, just launch:You should consider adding a symbolic link to
/usr/local/mysql/bin/mysql
to the/usr/bin
directory.