/Applications/MAMP/Library/bin/mysql
Now that we know where it lives lets set up a global way to access it by creating a symbolic link of it into /usr/local/bin
sudo ln -s /Applications/MAMP/Library/bin/mysql /usr/local/bin/mysql
now you'll have access to mysql from any terminal location
You can do the same procedure for mysqldump as well.
No comments:
Post a Comment