Quote:
|
Originally Posted by jsandova
Well if you are using a sh/bash/ksh shell then do the following:
cd <enter>
ls -lrta <enter>
vi .profile
Look for the following line and add the path you want after the :
PATH=$PATH:$HOME/bin:/var/juno/bin:/usr/sbin/ifconfig:
After you save and exit out of your .profile then do the following so you changes can take effect:
source .profile <enter>
|
OK, thanks. I did what you said, but still MySQL can't be found. My .profile now looks exactly like this:
PATH=$PATH:$HOME/usr/local/
But when I type "which mysql" <enter>
I still get this:
no mysql in /bin /sbin /usr/bin /usr/sbin /usr/local/bin /Users/timo/usr/local/ /usr/local/bin
Can it be that there are different files setting my path? I can't really see a connection between the path I set and the error message I get.
