MySQL从服务列表消失了

安装mysql成功,过段时间通过XAMpp启动时报错

Error: MySQL shutdown unexpectedly.
This may be due to a blocked port, missing dependencies,
improper privileges, a crash, or a shutdown by another method.
Press the Logs button to view error logs and check
the Windows Event Viewer for more clues
If you need more help, copy and post this

entire log window on the forums
查看后发现mysql 未启动

 服务列表不存在了

1  打我的电脑------C盘-----window文件夹---------System32-----cmd.exe,右击cmd选择以管理员身份运行

 

转到bin目录下,执行 mysql -install命令;最后安装成功   net start mysql  net stop mysql

原文地址:https://www.cnblogs.com/liang715200/p/15708513.html