错误地停止在本地主机上运行后无法启动 MySQL 服务器

时间:2021-03-23 06:31:49

标签: mysql database localhost mysql-workbench

我正在尝试使用工作台并错误地停止了在本地主机上运行的 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

1 个答案:

答案 0 :(得分:-1)

我对 Workbench 不太熟悉,但我认为端口号不知何故与其他一些应用程序发生冲突。