当前位置:网站首页>MySQL service is starting. MySQL service cannot be started. Solution

MySQL service is starting. MySQL service cannot be started. Solution

2022-07-01 15:00:00 Knowing and doing &

         because mysql The default port is 3306, So when starting the service , If this port is occupied , Will appear as above “Mysql Service failed to start , The service did not report any errors ” The situation of !

         therefore , The solution is as follows :

1. Check the port , Find occupancy 3306 Port process : Command line input netstat -aon , Find port number 3306 It's the same as PID.

 

2. End occupied port 3306 The process of : Command line input  taskkill /f /pid xxxx, Kill the process ,xxxx That is to say PID.

         example : Above , my PID by 3780, namely taskkill /f /pid 3780

 

3. Be accomplished , Start the service again , Input net start Mysql.


        The end of this article ! 

 

原网站

版权声明
本文为[Knowing and doing &]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/182/202207011455543632.html