安装 MySQL for Windows 时报错 The configuration for MySQL Server 8.0.34 has failed. You can find more information about the failures in the 'Log' tab. 解决方法

发布时间 2023-07-21 10:42:12作者: Starsdust

今天在安装 MySQL for Windows 时报错

The configuration for MySQL Server 8.0.34 has failed.
You can find more information about the failures in the 'Log' tab.

这是由于电脑名称使用了中文导致的

将电脑名称使用英文重命名后重启重新安装即可解决

另外这时候你应该已经注册了MySQL80服务,再次安装时会报错

应当使用拥有管理员权限的 CMD 运行sc delete MySQL80指令来删除这个服务