我是靠谱客的博主 勤劳小甜瓜,这篇文章主要介绍net start mysql System error 2 has occurred. The system cannot find the file specified.,现在分享给大家,希望可以做个参考。

https://www.jianshu.com/p/6d8ed7c36e6f
在运行net start mysql时出现错误

error 2 has occurred.  The system cannot find the file specified.

解决方案:
以管理员身份运行,在命令行输入cd+mySQL的bin目录的安装路径

C:WINDOWSsystem32>cd C:softerwaresettingmySQLmysql-8.0.11-winx64bin

C:softerwaresettingmySQLmysql-8.0.11-winx64bin>mysqld --remove
Service successfully removed.

C:softerwaresettingmySQLmysql-8.0.11-winx64bin>mysqld --install
Service successfully installed.

C:softerwaresettingmySQLmysql-8.0.11-winx64bin>net start mysql
The MySQL service is starting.
The MySQL service was started successfully.

最后

以上就是勤劳小甜瓜最近收集整理的关于net start mysql System error 2 has occurred. The system cannot find the file specified.的全部内容,更多相关net内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(41)

评论列表共有 0 条评论

立即
投稿
返回
顶部