简体   繁体   English

无法安装 MySQL 服务器 8.0.17,出现错误“产品‘MySQL 服务器 8.0.17’的操作‘安装’失败”

[英]Unable to Install MySQL Server 8.0.17 with Error “The action ‘Install’ for product ‘MySQL Server 8.0.17’ failed”

I am unable to install MySQL Server on a Windows 10 PC.我无法在 Windows 10 PC 上安装 MySQL 服务器。 I have downloaded the installer mysql-installer-community-8.0.16.0.msi from https://dev.mysql.com/downloads/file/?id=486089 , which I am running as an administrator.我已经从https://dev.mysql.com/downloads/file/?id=486089下载了安装程序 mysql-installer-community-8.0.16.0.msi,我以管理员身份运行。

I already have a number of products installed (Workbench, Shell, Router and some connectors).我已经安装了一些产品(Workbench、Shell、路由器和一些连接器)。 I click on “Add”, then select “MySQL Server 8.0.17 – X64” with the default options.我单击“添加”,然后单击 select “MySQL Server 8.0.17 – X64”,使用默认选项。

The installation fails.安装失败。 The log is quite long, and doesn't contain any errors other than the final line.日志很长,除了最后一行之外不包含任何错误。 I have attached the last few lines below:我在下面附上了最后几行:

1: Action 10:25:24: ExecSecureObjects. 1:行动 10:25:24:ExecSecureObjects。 1: Action 10:25:25: Rollback. 1:行动 10:25:25:回滚。 Rolling back action: 1: ExecSecureObjects 1: Writing system registry values 1: Creating shortcuts 1: Copying new files 1: Creating folders 1: Updating component registration 1: 1: MySQL Server 8.0 2: {827F2F48-CCB9-4018-9AA3-0CA9FA3223E1} 3: 3 1: The action 'Install' for product 'MySQL Server 8.0.17' failed.回滚操作: 1:ExecSecureObjects 1:写入系统注册表值 1:创建快捷方式 1:复制新文件 1:创建文件夹 1:更新组件注册 1:1:MySQL Server 8.0 2:{827F2F48-CCB9-4018-9AA3-0CA9FA3223E1 } 3: 3 1: 产品“MySQL Server 8.0.17”的“安装”操作失败。

Any help greatly appreciated, including where I can look to find details of what the error actually is.非常感谢任何帮助,包括我可以在哪里查找错误的详细信息。

Regards问候

Geoff Olding杰夫·奥尔丁

I faced the same issue and it took me a day to figure out that there is some problem with the version itself.我遇到了同样的问题,我花了一天时间才发现版本本身存在一些问题。 I went through some forums and finally installed version 5.7.16 and it worked!!!我浏览了一些论坛,最后安装了 5.7.16 版本,它工作了!!!

If you have already installed other applications using mysql installer.如果您已经使用 mysql 安装程序安装了其他应用程序。 You will see the following screen once you open it打开后会看到如下画面

在此处输入图像描述

From the above screen select the Add option and you will see the below screen.从上面的屏幕 select添加选项,您将看到下面的屏幕。 Then choose version 5.7.16 from the list and the rest follow the steps suggested by the installer.然后从列表中选择版本 5.7.16,rest 按照安装程序建议的步骤进行操作。

在此处输入图像描述

If you are installing it for the first time如果您是第一次安装

  1. Run the mysql installer运行 mysql 安装程序
  2. Choose the custom installation option选择自定义安装选项
  3. Select the version 5.7.16 and the rest follow the steps suggested by the installer Select 版本 5.7.16 和 rest 遵循安装程序建议的步骤

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM