端口3306无法正常工作

编程入门 行业动态 更新时间:2024-10-24 16:28:13
本文介绍了端口3306无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 从最后一天起,我面临着各种各样的问题。首先我的80号港口很忙。我发现Skype也使用端口80然后我修复它。 bt现在3306端口总是很忙。这就是为什么我不能运行mysql ....请帮助我... wamp服务器也面临同样的问题

解决方案

使用TCPView [ ^ ]并识别正在使用该端口的应用程序。 但如果您愿意,可以使用另一个端口用于MySQL,请参阅: rajeshstutorials.blogspot.hu/2012/04/change- mysql-port-in-wampserver.html [ ^ ],但请记住在 php ini mysql section [ ^ ],或者从代码连接到它时设置port参数。

这意味着你的sql实例已经在运行。 要查看所有端口上正在运行的程序,请执行以下命令。

C:\> netstat -a

这将显示在不同端口上侦听的所有程序的列表。 查找在端口3306上运行的程序的ProcessID(pid)。 (如果没有显示以管理员身份运行cmd ) 现在您需要终止此过程。 使用以下命令杀死进程...

C:\ kill [进程的pid];

希望这个帮助你 ----------------- ------ Pratik Bhuva

from the last day i facing various problem. first my port 80 was busy. i found that skype also use port 80 then i fix it. bt now port 3306 is always busy. thats why i can't run mysql....please help me...wamp server also facing the same problem

解决方案

Use TCPView[^] for example and identify the application that is using the port. But you can use another port for MySQL if you wish, see: rajeshstutorials.blogspot.hu/2012/04/change-mysql-port-in-wampserver.html[^], but remember to change the port in php ini mysql section[^] too, or set the port parameter when you connect to it from code.

This means an instance of your sql is already running. To find out what program is running on all port run following command.

C:\>netstat -a

this will show list of all programs listening on different ports. Find ProcessID(pid) of the program running on port 3306. (if not showing Run cmd as Administrator) now you need to kill this process. to kill the process use following command...

C:\kill [pid of process];

Hope This Help You ----------------------- Pratik Bhuva

更多推荐

端口3306无法正常工作

本文发布于:2023-08-07 14:18:54,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1319577.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:无法正常   端口   工作

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!