Make terminal path shortcuts in OS X by editing your .bash_profile file [solved]
I found MAMP’s command line mysql application in this path:
/Applications/MAMP/Library/bin/mysql
On most linux environments I’m used to just typing mysql to launch mysql, but OS X doesn’t have a native mysql application. If you’re running OS X 10.3+, you’re probably using a bash shell, and you can create/edit this file to make paths to your favorite apps:
~/.bash_profile
Write this line of code to create a shortcut to mysql:
export PATH=/Applications/MAMP/Library/bin:$PATH
Save and close and reopen your terminal window, and you’re all set!
0 comments Tuesday 25 Apr 2006 | jordan314 | Computers, apple, solved
Leave a Reply
You must be logged in to post a comment.