win 7安装mysql 5.7.20 及报错

本文重点讲解安装过程中报错 This application requires Visual Studio 2013 Redistributable. Please install the Redistributable then run this installer again. 的解决办法,

错误信息大致如下:

1: Action 10:59:21: INSTALL.
1: 1: MySQL Server 5.7 2: {F08E9C75-A42E-4962-8760-4CBD9CF35D7A}
1: Action 10:59:21: FindRelatedProducts. Searching for related applications
1: Action 10:59:21: AppSearch. Searching for installed applications
1: Action 10:59:21: 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: {F08E9C75-A42E-4962-8760-4CBD9CF35D7A} 3: 3
1: The action 'Install' for product 'MySQL Server 5.7.20' failed.


win 7安装mysql 5.7.20 及报错_第1张图片


网上找答案,国内相关问题解答真是少的一笔,一堆链接全是国外站点,最终还是在程序员bug解决圣地 stackoverflow 找到解决方案。地址如下:

https://stackoverflow.com/questions/45163588/mysql-5-7-installer-fails-to-detect-vs-2013-redistributable/45165995

 

问题原因大体是mysql自动安装的Visual C++ Redistributable 路径不对或者即使是x64的mysql识别的也是x86的安装路径,所以解决方案是从微软手动下载 Visual C++ Redistributable安装 ,简体中文微软官方下载路径为:https://www.microsoft.com/zh-CN/download/details.aspx?id=40784 ,点击下载按钮并将vcredist_x64和vcredist_86都下载下来,先安装vcredist_x64后尝试重新安装mysql 5.7.20 ,假如依然报错,然后安装vcredist_x86后再次安装mysql 问题解决。

 

本文转载自:

win 2012 安装mysql 5.7.20 及报错 This application requires Visual Studio 2013 Redistributable. Please install the Redistributable then run this installer again 的解决办法 - 一 定 会 去 旅 行 - 博客园  http://www.cnblogs.com/jying/p/7764147.html


谢谢作者分享!

你可能感兴趣的:(win 7安装mysql 5.7.20 及报错)