mysql - 错误地停止在本地主机上运行后无法启动 MySQL 服务器
问题描述
我正在尝试工作台并错误地停止了在 localhost 上运行的 MySQL 服务器。然后我尝试从工作台和 windows powershell 重新启动它。那没起效。我卸载了 MySQL 并从头开始重新安装它。但这也无济于事。我也尝试了 StackOverflow 上给出的所有方法。那也不起作用
Windows 甚至没有在服务窗口中显示 MySQL,即使我重新安装它。甚至powershell都给出错误,服务名称(MYSQL)无效
请让我知道如何重新启动 MySQL 服务器。感谢你在期待。
我在下面附上错误消息
2021-03-23 06:23:54 - Workbench will use cmd shell commands to start/stop this instance
2021-03-23 06:23:54 - Checking server status...
2021-03-23 06:23:54 - Trying to connect to MySQL...
2021-03-23 06:23:54 - Unable to connect to localhost (2003)
2021-03-23 06:23:54 - Assuming server is not running
Could not open error log file: [Errno 2] No such file or directory: 'C:\\ProgramData\\MySQL\\MySQL Server 5.6\\data\\ABHIJEET.err'
2021-03-23 06:23:59 - Starting server...
2021-03-23 06:23:59 - Could not start server: argument 2: <class 'TypeError'>: wrong type
2021-03-23 06:24:05 - Checking server status...
2021-03-23 06:24:05 - Trying to connect to MySQL...
2021-03-23 06:24:05 - Unable to connect to localhost (2003)
2021-03-23 06:24:05 - Assuming server is not running
2021-03-23 06:24:05 - Checking server status...
2021-03-23 06:24:05 - Trying to connect to MySQL...
2021-03-23 06:24:05 - Unable to connect to localhost (2003)
2021-03-23 06:24:05 - Assuming server is not running
解决方案
我对 Workbench 不太熟悉,但我认为端口号与其他一些应用程序发生冲突。
推荐阅读
- javascript - vue 过渡组件无法正常工作
- swift - 为什么我不能在 Swift Combine 中的 .tryMap() 之后使用 .flatMap()?
- python - 有人可以帮我处理 tkinter“命令”中的参数吗
- python - Django Like 机制。数据库性能问题
- java - 使用 Asynctask 从 Web 服务器下载文本文件
- python - 在带有层的 Lambda 中安装 OpenCV
- c - 将 64 位十进制转换为二进制
- wpf - WPF 功能区不像其他控件那样缩放
- node.js - node.js的multer中的mp4文件上传问题
- r - R 调查包中的 svydesign 不接受 imputationList