Sunday, January 2, 2022

[FIXED] MAMP - mysql server won't start on port 3306

Issue

mySQL Server refuses to start up on port 3306 but ok on 8889.

Anyone got any ideas? Banging head on desk here :-)


Solution

The simplest solution would be probably to figure out if there is another instance of MySQL running and stopping it, e.g. you could call in Terminal :

ps -ax | grep mysqld

and then kill the appropriate mysqld process.

And to check for processes listening on the port 3306 :

lsof -i:3306


Answered By - Hamed Kamrava

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.