Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Mysql

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

Apache/PHP

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

1 Answer 1

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

Your Answer

 
discard

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