mamp - Terminal Command not working to connect to MySQL -


i'm working on mac 10.6.6 mamp installed.

previously, have been able connect mysql using command line

mysql --host=127.0.0.1 --port=8889 --user=root -p 

but saying

-bash: mysql: command not found 

do have idea how can fix problem? mysql directory

add ~/.bash_profile

path=$path:/usr/local/mysql/bin:/usr/local/postgre/bin export path 

then, in existing terminal: source ~/.bash_profile


Comments