![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqwdenZpSgtnXYncuFthWw6k8iOXTZckEWdz_0LiYywj-88hob4RUvpIss-MWoCmEchWzo9fpzERcFBKPEGzFAo9KUFnSRfzAsqzJTK8cxDRStkKObMMWE5sXWWAQ-0Ma3LYqGqIqyPKs/s1600/page-mysql.png)
/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