setting mamp ports to 80 and 3306

thebiglebowski11 picture thebiglebowski11 · Feb 21, 2012 · Viewed 32.5k times · Source

I have both apache and mySQL running with the default MAMP ports (8888 and 8889 respectively) and everything seems to work, but when I switch the ports to 80 for Apache and 3306 for mySQL, the mySQL server is unable to restart.

I am trying to setup MAMP to run on these ports because apparently this is optimal for developing in dreamweaver... Thus, given that I would like to have the ideal dev environment for dreamweaver, is there a way around using the 3306 port? Or, what could the potential problems be?

Thanks

Answer

thebiglebowski11 picture thebiglebowski11 · Feb 28, 2012

Just in case anyone is having the same problem, here is how I fixed it:

I opened the Activity Monitor program and selected "All Processes"
Next I search for "mysqld" in the search text field. There is a good chance that you have an instance of mysql running and you have to find it and hit quit process.
Restart MAMP and you should be all set.