Super User is a question and answer site for computer enthusiasts and power users. 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


j:~ julian$ mysql
-bash: mysql: command not found


Forbidden to access / on the server.

share|improve this question
Have you configured Apache at all other than enable Web Sharing in System Preferences -> Sharing? – emgee Apr 9 '11 at 1:54

It appears that MySQL is not installed or not included in your path; if it is installed, locate the mysql executable and add the directory in which it is located into your PATH environment variable.

For Apache and PHP, make sure that they are set to serve the correct directories (such as /Library/Webserver). They appear to be denied access because they are attempting to serve the root directory /. If the directory is correct, check the permissions and ownership of the directory.

share|improve this answer

You must log in to answer this question.