I am trying to install mysql on snow leopard and having some problems.
I followed these steps in the hivelogic blog
http://hivelogic.com/articles/compiling-mysql-on-snow-leopard
all goes well but when i get to the final step i try to do
mysql -uroot
i get this
-bash: mysql: command not found
what am i doing wrong
Step 1: Set the PATH
Did you do that (including the "source ~/.profile" bit)? Your shell cannot find the mysql command. So, you have either not installed it at all or installed in a location not listed in your PATH environment variable.
You can run a spotlight query from the command line to find all occurances of the mysql command like this:
$ mdfind mysql | grep '/mysql$'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.