I'm working to set up my MySQL server using MAMP.
Current Status: Downloaded MySQL, MAMP Running MAMP: MySQL Server is green, plus it appears as a process in activity monitor
I tried:
$ mysql
-bash: mysql: command not found
I saw some tutorials that recommended adding a path to my .profile file. So I created a .profile file and added
PATH=$PATH:/Applications/MAMP/Library/bin
export PATH
I then saved it as .profile in the home directory.
Again I tried
$ mysql
-bash mysql: command not found
Does anyone have any idea what's wrong?
Thanks
OS: Mountain Lion
mysqlbin is?mysqlbinary in /Applications/MAMP/Library/bin? Did you source the .profile or restart the shell? Runecho $PATHmysqlinside it also.. Locate or install mysql client and try running it with an absolute path:/bla/bla/foo/bin/mysql