无法在本地计算机上启动MySQL80服务

无法在本地计算机上启动MySQL80服务,mysql,Mysql,我正在安装MySQL8.0.18。在应用配置时,每当我按下execute时,它都会在启动服务器时停止,并且不会对其进行配置。在日志选项卡中,它显示: Beginning configuration step: Starting the server Attempting to start service MySQL80... Failed to start service MySQL80. Waiting until a connection to MySQL Server 8.0.18 can

我正在安装MySQL8.0.18。在应用配置时,每当我按下execute时,它都会在启动服务器时停止,并且不会对其进行配置。在日志选项卡中,它显示:

Beginning configuration step: Starting the server
Attempting to start service MySQL80...
Failed to start service MySQL80.
Waiting until a connection to MySQL Server 8.0.18 can be established (with a maximum of 10 attempts)...
Retry 1: Attempting to connect to Mysql@localhost:3306 with user root with no password...
MySQL error 1042: Unable to connect to any of the specified MySQL hosts.
Waiting 5 seconds before the next connection attempt...    
Retry 2: Attempting to connect to Mysql@localhost:3306 with user root with no password...
MySQL error 1042: Unable to connect to any of the specified MySQL hosts.
Waiting 5 seconds before the next connection attempt...
Retry 3: Attempting to connect to Mysql@localhost:3306 with user root with no password...
MySQL error 1042: Unable to connect to any of the specified MySQL hosts.
Waiting 5 seconds before the next connection attempt...
Retry 4: Attempting to connect to Mysql@localhost:3306 with user root with no password...
MySQL error 1042: Unable to connect to any of the specified MySQL hosts.
Waiting 5 seconds before the next connection attempt...
Retry 5: Attempting to connect to Mysql@localhost:3306 with user root with no password...
MySQL error 1042: Unable to connect to any of the specified MySQL hosts.
Waiting 5 seconds before the next connection attempt...
Retry 6: Attempting to connect to Mysql@localhost:3306 with user root with no password...
MySQL error 1042: Unable to connect to any of the specified MySQL hosts.
Waiting 5 seconds before the next connection attempt...
Retry 7: Attempting to connect to Mysql@localhost:3306 with user root with no password...
MySQL error 1042: Unable to connect to any of the specified MySQL hosts.
Waiting 5 seconds before the next connection attempt...
Retry 8: Attempting to connect to Mysql@localhost:3306 with user root with no password...
MySQL error 1042: Unable to connect to any of the specified MySQL hosts.
Waiting 5 seconds before the next connection attempt...
Retry 9: Attempting to connect to Mysql@localhost:3306 with user root with no password...
MySQL error 1042: Unable to connect to any of the specified MySQL hosts.
Waiting 5 seconds before the next connection attempt...
Retry 10: Attempting to connect to Mysql@localhost:3306 with user root with no password...
MySQL error 1042: Unable to connect to any of the specified MySQL hosts.
Failed to connect to MySQL Server 8.0.18 after 10 attempts.
Ended configuration step: Starting the server 
我不知道是位置错误还是其他原因,因为我在
E:\setups\mySQL\setup
中保存了我的设置。它给出了快照中显示的错误。 我试着根据自己的想法解决这个问题,但似乎没有用


我试图重新安装它,但不知何故,它仍然给出相同的错误。我该怎么办?

好吧,MySQL中的错误2仅仅是由于文件丢失或位置错误而产生的。您尝试运行的服务的路径可能错误或丢失


这里有一些相同问题的参考资料
  • (也可以看看这个)
可能的解决办法:
检查MySQL80服务的路径是否正确,所有文件是否都具有正确的执行和网络权限。如果没有任何功能,您可以始终使用不同版本的查看它是否在那里工作,以及是否工作,在新版本中报告一个bug

首先,我会在Windows事件查看器中查找来自MySQL的错误消息,以及可执行文件的路径“看起来很奇怪。我将卸载MySQL并再次启动安装,确保您使用管理员运行它Account@RiggsFollywindows event viewer如何帮助?windows event viewer如何帮助MYSQL在打开自己的文本日志之前将错误记录到事件日志中。因此,如果您查看事件查看器,您可能会看到问题所在,因为您可能会看到错误message@nbk我试图通过表单服务手动启动它,但没有任何帮助