MAMP-MySQL服务器将无法在端口3306上启动
问题描述:
mySQL Server拒绝在端口3306上启动,但在8889上正常.
mySQL Server refuses to start up on port 3306 but ok on 8889.
有人有什么想法吗?在这里敲桌子:-)
Anyone got any ideas? Banging head on desk here :-)
答
最简单的解决方案可能是弄清是否存在另一个运行和停止MySQL的MySQL实例,例如您可以在终端中致电:
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
,然后终止相应的mysqld
进程.
and then kill the appropriate mysqld
process.
并检查是否侦听了端口3306上的进程:
And to check for processes listening on the port 3306 :
lsof -i:3306