windows无法启动MySQL.本地计算机上的服务.错误 2:系统找不到指定的文件 [英] windows could not start the MySQL. service on local computer. Error 2 : The system cannot find the file specified

查看:46
本文介绍了windows无法启动MySQL.本地计算机上的服务.错误 2:系统找不到指定的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在我的 Windows 系统上启动 MySQL 服务器.当我尝试在 services.msc 中运行时,出现此错误:

I am not able to start the MySQL server on my Windows system. When I tried in services.msc to run, I got this error:

通过 XAMPP 控制面板启动它也不起作用:

Starting it through the XAMPP control panel does not work either:

你能帮我解决这个问题吗?

Can you help me to solve this?

推荐答案

  1. 打开windows服务(开始->运行->Services.MSC)
  2. 找到名为Mysql Server"的服务并检查路径,它应该是这样的:

"C:\Program Files (x86)\Parallels\Plesk\Databases\MySQL51\bin\mysqld.exe" "--defaults-file=C:\Program Files (x86)\Parallels\Plesk\Databases\MySQL\Data\my.ini" MySQL

"C:\Program Files (x86)\Parallels\Plesk\Databases\MySQL51\bin\mysqld.exe" "--defaults-file=C:\Program Files (x86)\Parallels\Plesk\Databases\MySQL\Data\my.ini" MySQL

  1. 确保该路径存在上述Mysql文件夹和可执行文件.

有时mysqld-nt.exe的文件名重命名为mysqld-nt.exe~所以重命名回原来的名字,这样可以解决问题.

Sometimes the file name of mysqld-nt.exe renamed to mysqld-nt.exe~ so rename it back to its original name and this may solve the problem.

这篇关于windows无法启动MySQL.本地计算机上的服务.错误 2:系统找不到指定的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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