【发布时间】:2020-03-19 19:30:02
【问题描述】:
我正在安装 MySQL8.0.18。在应用配置时,每当我按下执行时,它都会在starting the server 上停止并且不配置它。在日志选项卡中,它说:
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。它给出了快照中显示的错误。
我尝试按照the first answer here解决,但似乎没有帮助。
我尝试重新安装它,但它仍然以某种方式给出相同的错误。我该怎么办?
【问题讨论】:
-
我将首先在 Windows 事件查看器中查找来自 MYSQL 的错误消息
-
另外,“可执行文件路径”看起来很奇怪。我会卸载 MySQL 并再次开始安装,确保使用管理员帐户运行它
-
@RiggsFolly windows 甚至查看器如何提供帮助?
-
windows 事件查看器如何帮助 MYSQL 在打开自己的文本日志之前将错误记录到事件日志中。因此,如果您查看事件查看器 您可能会看到问题是什么,因为您可能会看到错误消息
-
@nbk 我试图从服务中手动启动它,但它没有帮助
标签: mysql