mysql启动报错

it2022-05-06  11

查看报错日志:

131023 15:02:59 [ERROR] Can't start server: Bind on TCP/IP port: No such file or directory131023 15:02:59 [ERROR] Do you already have another mysqld server running on port: 3306 ?131023 15:02:59 [ERROR] Aborting

意思为3306端口被占用了

开始-运行-cmd进入命令行模式查看3306端口的占用情况

Microsoft Windows [版本 6.1.7600]版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\super>netstat -aon|findstr "3306" TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING 2248 TCP 127.0.0.1:3306 127.0.0.1:50547 ESTABLISHED 2248 TCP 127.0.0.1:3306 127.0.0.1:50548 ESTABLISHED 2248 TCP 127.0.0.1:3306 127.0.0.1:50603 ESTABLISHED 2248 TCP 127.0.0.1:3306 127.0.0.1:50604 ESTABLISHED 2248 TCP 127.0.0.1:3306 127.0.0.1:50605 ESTABLISHED 2248 TCP 127.0.0.1:3306 127.0.0.1:50666 ESTABLISHED 2248 TCP 127.0.0.1:3306 127.0.0.1:50667 ESTABLISHED 2248 TCP 127.0.0.1:3306 127.0.0.1:50668 ESTABLISHED 2248 TCP 127.0.0.1:3306 127.0.0.1:50723 ESTABLISHED 2248 TCP 127.0.0.1:3306 127.0.0.1:50724 ESTABLISHED 2248 TCP 127.0.0.1:3306 127.0.0.1:50725 ESTABLISHED 2248 TCP 127.0.0.1:3306 127.0.0.1:50930 ESTABLISHED 2248 TCP 127.0.0.1:3306 127.0.0.1:50931 ESTABLISHED 2248 TCP 127.0.0.1:3306 127.0.0.1:50932 ESTABLISHED 2248 TCP 127.0.0.1:3306 127.0.0.1:50988 ESTABLISHED 2248 TCP 127.0.0.1:3306 127.0.0.1:50989 ESTABLISHED 2248 TCP 127.0.0.1:3306 127.0.0.1:50990 ESTABLISHED 2248 TCP 127.0.0.1:3306 127.0.0.1:51053 ESTABLISHED 2248 TCP 127.0.0.1:3306 127.0.0.1:51054 ESTABLISHED 2248 TCP 127.0.0.1:3306 127.0.0.1:51055 ESTABLISHED 2248 TCP 127.0.0.1:50484 127.0.0.1:3306 TIME_WAIT 0 TCP 127.0.0.1:50485 127.0.0.1:3306 TIME_WAIT 0 TCP 127.0.0.1:50546 127.0.0.1:3306 TIME_WAIT 0 TCP 127.0.0.1:50547 127.0.0.1:3306 ESTABLISHED 1508 TCP 127.0.0.1:50548 127.0.0.1:3306 ESTABLISHED 1508 TCP 127.0.0.1:50603 127.0.0.1:3306 ESTABLISHED 1508 TCP 127.0.0.1:50604 127.0.0.1:3306 ESTABLISHED 1508 TCP 127.0.0.1:50605 127.0.0.1:3306 ESTABLISHED 1508 TCP 127.0.0.1:50666 127.0.0.1:3306 ESTABLISHED 1508 TCP 127.0.0.1:50667 127.0.0.1:3306 ESTABLISHED 1508 TCP 127.0.0.1:50668 127.0.0.1:3306 ESTABLISHED 1508 TCP 127.0.0.1:50723 127.0.0.1:3306 ESTABLISHED 1508 TCP 127.0.0.1:50724 127.0.0.1:3306 ESTABLISHED 1508 TCP 127.0.0.1:50725 127.0.0.1:3306 ESTABLISHED 1508 TCP 127.0.0.1:50930 127.0.0.1:3306 ESTABLISHED 1508 TCP 127.0.0.1:50931 127.0.0.1:3306 ESTABLISHED 1508 TCP 127.0.0.1:50932 127.0.0.1:3306 ESTABLISHED 1508 TCP 127.0.0.1:50988 127.0.0.1:3306 ESTABLISHED 1508 TCP 127.0.0.1:50989 127.0.0.1:3306 ESTABLISHED 1508 TCP 127.0.0.1:50990 127.0.0.1:3306 ESTABLISHED 1508 TCP 127.0.0.1:51053 127.0.0.1:3306 ESTABLISHED 1508 TCP 127.0.0.1:51054 127.0.0.1:3306 ESTABLISHED 1508 TCP 127.0.0.1:51055 127.0.0.1:3306 ESTABLISHED 1508

被进程2248占用

打开任务管理器,去里面找到这个进程,然后点击结束进程,重启mysql即可

转载于:https://www.cnblogs.com/flyrain/p/mysql3306.html

相关资源:数据结构—成绩单生成器

最新回复(0)