MAMP - mysql server won't start on port 3306

余生颓废 提交于 2019-12-04 16:27:37

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

for me solution was to stop mhsql service

sudo launchctl unload -F /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist

and then reload it from MAMP

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!