MySQL 5.7.19没有安装。同样的错误

时间:2017-07-24 08:39:06

标签: mysql windows installation

我一直在尝试安装MYSQL 5.7.19但是在安装“MYSQL SERVER 5.7.19”时它给了我以下错误,尽管其他部分安装完美。

1: Action 14:02:10: INSTALL. 
1: 1: MySQL Server 5.7 2: {EC09D203-422B-4C9F-B623-230EF57EE709} 
1: Action 14:02:10: FindRelatedProducts. Searching for related applications
1: Action 14:02:10: AppSearch. Searching for installed applications
1: Action 14:02:10: LaunchConditions. Evaluating launch conditions
1: This application requires Visual Studio 2013 Redistributable. Please install the Redistributable then run this installer again.
1: 1: MySQL Server 5.7 2: {EC09D203-422B-4C9F-B623-230EF57EE709} 3: 3 
1: The action 'Install' for product 'MySQL Server 5.7.19' failed.

在此之后,我安装了“VISUAL C ++ Redistributable 2013”​​,因为我找不到“Visual Studio 2013 Redistributable”。我想问的第一件事是这两个是一样的吗?如果没有,那么在哪里可以找到“Visual Studio 2013 Redistributable”。安装“VISUAL C ++ Redistributable 2013”​​后,我仍然遇到同样的错误。另一件事是,如果我不安装'MySQL Server 5.7.19'并让它失败,我的MySQL将无法正常工作吗?

6 个答案:

答案 0 :(得分:9)

简单的解决方法(msi安装序列文件中存在错误):

  • 通过网络安装程序下载并安装服务器,然后让它失败
  • 打开C:\ ProgramData \ MySQL \ MySQL Installer for Windows \ Product Cache \ mysql-5.7.20-winx64.exe或从CDN下载msi安装程序(您可以从安装程序日志中获取正确的URL)
  • 安装mysql-5.7.20-winx64.exe但不包括“服务器数据文件”
  • 重新运行Web安装程序并单击“快速操作/重新配置”并配置您的mysql实例
  • 添加所需的包

答案 1 :(得分:5)

我遇到了与 MySQL Server 5.7.19 x64 相同的问题。

我安装了 Visual Studio 2013 Redistributable x64 ,但它不起作用,因此您必须安装 Visual C ++ 2013更新和Visual C ++ Redistributable Package 这里可以找到https://support.microsoft.com/en-us/help/3179560/update-for-visual-c-2013-and-visual-c-redistributable-package

使用此解决方案,您可以安装v5.7而不是v5.6。

Jafeth Carrillo Salas https://forums.mysql.com/profile.php?169,11205311

答案 2 :(得分:3)

这似乎与MySql 5.7 installer fails to detect VS 2013 redistributable重复。 我有同样的问题,我尝试了多次,甚至删除了Visual Studio Redistribute 2013的多个版本,但MySql V5.7没有安装。我尝试了x86和64位,但结果是一样的。

解决方案:我已经下载了MySql 5.6版而不是5.7版,然后安装它就像魅力一样。

注意:

似乎MySql V 5.7安装程序一定存在问题。

答案 3 :(得分:1)

您可以在mysql.com的安装说明中找到问题的答案。要安装服务器,您需要Visual Studio C ++ 2013 Redistributable,您可以在Microsoft找到它。

如果您的MySQL能够正常工作,如果您不安装服务器取决于您的需求。如果您只是连接到其他地方的其他服务器,我没有看到任何问题。

答案 4 :(得分:1)

简单的解决方法(msi安装序列文件中存在错误):

通过Web安装程序下载并安装服务器,然后让它失败 打开C:\ ProgramData \ MySQL \ MySQL安装程序,用于Windows \ Product Cache \ mysql-5.7.20-winx64.exe或从CDN下载msi安装程序(您可以从安装程序日志中获取正确的URL) 安装mysql-5.7.20-winx64.exe但排除“服务器数据文件” 重新运行Web安装程序并单击“快速操作/重新配置”并配置您的mysql实例 添加所需的包

感谢。它对我有用。!!!

答案 5 :(得分:0)

删除mysql服务器并安装32位和64位版本的Visual C ++ Redistributable Packages,然后解决此问题。

https://www.microsoft.com/en-in/download/confirmation.aspx?id=40784 vcredist_x64.exe 选择vcredist_x64.exe