![]() ![]() Then I replaced the root of the MAMP document with the default Mac HD -> Applications -> MAMP -> htdocsĪnd it works! I previously installed it on /Users/userhomedirectory/Sites ![]() Installed some updates and even copied my laptop MAMP setup that works to my desktop. I have re-installed the app several times. None of them worked.ĭoes anyone have any experience? Is this an Apache port bug or a MySQL socket bug? Or something completely different? And given that there were no updates or changes to anything in the system or application, what could have caused this? I also tried rebooting my computer by changing the apache, nginx and mysql port config options, switching from apache to nginx, loading MAMP MySql from terminal, creating a my.cnf file with socket config. ![]() I mean, I've literally tried every suggestion on these pages, from the posted responses to comments. So, I've searched and tried several solutions regarding the mysql error, including the suggestions from this post, and this post, but none of them worked for me. So far, I cannot determine if the mysql error is causing the apache error or the apache error is causing the mysql error. The same goes for this post 's suggestion to uninstall and reinstall the entire app. Mamp for mac port 8888 already in use pro#I came across a post regarding MAMP PRO and decided to try the suggested solutions, but to no avail. The mysqld process never showed up after I killed it the first time. So I don't understand why I am getting Apache port error.Īnyway, then I opened Activity Monitor and killed every HTTPd and mysqld process that was running and restarted MAMP, but the problem persisted. ![]() So, port 8888 is only used when starting MAMP, which also tells me that the webserver is actually connected. Output when MAMP (all of the above) + is executed: When MAMP was closed, the console output was Can't connect to local MySQL server via socket" /Applications/MAMP/tmp/mysql/mysql.sock ", (2 ) ".Īs for the first problem (Apache port is in use by another program), I opened a terminal and > sudo lsof -i -P | grep -i "listen" But when I tried to log into the site with a dummy user account, I got "SQLSTATE. I opened Chrome and entered the url of a site I am developing locally and it showed up without issue. I clicked "Start Servers" again and got a message that "Apache cannot be started because port 8888 is in use by other software." Strange as I haven't made any changes to the system or app or installed any updates. After restarting MAMP, I noticed that the MySQL Server checkbox did not turn green as usual. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |