

To find out the exact cause of the problem, you need to look in the MySQL log file located in /Applications/MAMP/logs/ or /Library/Application Support/appsolute/MAMP/logs/. The current user not having permissions to the file.Another mysql service running on the same port.The most common problems with MySQL server not starting are the following:

The reasons for the problems with running MySQL server can be different in different cases. If you use the non-standard version of the app, but the PRO one, then in the following steps, replace “MAMP” with “MAMP PRO”, respectively. I’m using version 4.2.1 of the MAMP app, but in your case there can be any other version of the MAMP app. It describes how to do almost the same thing using the Finder, instead of using commands in the Terminal. For regular users, I recommend reading another article about this problem. We will use the Terminal app to solve the problem. This article is intended for experienced users.


But sometimes there are problems such as the following error message when I try to start the servers: So far, this is the perfect app for me to have a local server environment. As i have that step blocked with the error message.On my macOS devices I use MAMP app by appsolute GmbH for local web development. But I am not sure how to do it correctly. I understand adding a subfolder for a subdomain concept. So I am having difficulty understanding what steps to do. So is that were to put the code? as listed below? I am not sure.ĭocumentRoot "/Applications/MAMP/htdocs/" # If your host doesn't have a registered DNS name, enter its IP address here. # it explicitly to prevent problems during startup. # This can often be determined automatically, but we recommend you specify # ServerName gives the name and port that the server uses to identify itself. I don't see the #NameVirtualHost but do see this lines Then the next step looking into the file. I think can do this but I am not sure what to replace, with. Use the arrow keys to scroll down to the end of the hosts file and add the following lines: To do this, open Terminal and type “sudo pico /etc/hosts” (without the quotes), and then enter your password at the prompt. Next, add your sub-domains to the Mac hosts file. However I donot really understand it very well.įter installing MAMP, change the default Apache port to 80. So I suppose I need to use the second web tutorial you gave me from perishable press. (screenshot at the bottom) The error message is the same as myfirst post cannot use port number 8888. In the first place I did use the video from your site on multisites and I followed it until i got stuck on the step where I edit the subdomains. I'm still having trouble understanding the help.
