MySQL安装时MySQL server一直安装失败日志显示This application requires Visual Studio 2013 Redistributable

使用MySQL社区版的msi包进行安装,试了好多次,别的组件都能正常安装,只有MySQL server的安装状态显示为fail。删除所有安装的程序,包括所依赖的各种Microsoft发布的包,删除所有的注册表中有关MySQL的条目,删除硬盘上所有有关MySQL的文件文件夹包括各种隐藏目录下的文件。重启,重新安装,问题依旧,别的组件都能正常安装。

MySQL installer完整日志:

 1: Action 20:31:00: INSTALL. 

1: 1: MySQL Server 5.7 2: {F08E9C75-A42E-4962-8760-4CBD9CF35D7A} 
1: Action 20:31:00: FindRelatedProducts. Searching for related applications
1: Action 20:31:00: AppSearch. Searching for installed applications
1: Action 20:31:00: 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.19' failed.

查过很多资料都不行,最后偶然在一个微软论坛看到一个评论,最终才解决。

解决方法:

安装MySQL server 5.7.19,用12.0.30501版本的Microsoft Visual c++ 2013 Redistributable(X64),MySQL server 组件安装不成功,后升级为12.0.40660版本的Microsoft Visual c++ 2013 Redistributable(X64)后,就可以成功安装了。

猜你喜欢

转载自www.cnblogs.com/lifei66/p/10736412.html