OSX Lion - sh: mysql command not found
Posted
by
mkk
on Super User
See other posts from Super User
or by mkk
Published on 2012-06-04T15:51:40Z
Indexed on
2012/06/04
16:46 UTC
Read the original article
Hit count: 594
I have pretty simple issue I believe.
I have successfully installed mysql etc. I do not have any problems with running "mysql" command from terminal [ bash ]. Suddenly, when my application tried to run mysql command I got error: sh: mysql: command not found.
. In terminal, when I type sh
and then mysql
I can log in to mysql without any problems. I have added mysql to PATH in .bash_profile
and I suspect this is why sh
cannot see it. I have cp .bash_profile to .profile but it did not do the trick, any ideas how can I fix this issue?
© Super User or respective owner