将Mamp端口设置为80和3306 [英] setting mamp ports to 80 and 3306

查看:212
本文介绍了将Mamp端口设置为80和3306的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我同时使用默认的MAMP端口(分别为8888和8889)运行apache和mySQL,并且一切正常,但是当我将Apache的端口切换为80并将mySQL的端口切换为3306时,mySQL服务器无法重新启动.

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.

我正在尝试将MAMP设置为在这些端口上运行,因为显然,这对于在Dreamweaver中进行开发是最佳的...因此,鉴于我想为Dreamweaver提供理想的开发环境,是否有办法使用3306港口?或者,潜在的问题是什么?

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?

谢谢

推荐答案

以防万一有人遇到相同的问题,这是我的解决方法:

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

我打开了活动监视器程序,然后选择了所有进程"
接下来,我在搜索文本字段中搜索"mysqld".您很有可能正在运行mysql实例,并且必须找到它并点击退出进程.
重新启动MAMP,您应该已经准备就绪.

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.

这篇关于将Mamp端口设置为80和3306的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆