Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just installed mysql on my Mac per these instructions. However, at the command line which mysql and which mysqld replies nothing.

How do I get from the above link to this tutorial link?

share|improve this question
up vote 1 down vote accepted

Likely, the installer didn't add a path entry for the newly installed binaries, and since they are not in a standard path, which can't find them.

Try if calling /usr/local/mysql/bin/mysql works. If yes, add the following line to the file /etc/profile

export PATH=$PATH:/usr/local/mysql/bin

If not, you have to find out where the binaries landed and alter the above line accordingly.

After that, you have to restart before the changes will take effect.

share|improve this answer
That did it! Thanks. – John Berryman Dec 11 '10 at 17:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.