美文网首页
MySQL5.7.20安装失败

MySQL5.7.20安装失败

作者: 萧非子 | 来源:发表于2018-01-30 10:53 被阅读77次

<pre>

在Win10下使用mysql-installer-community-5.7.20.0的msi包进行安装,试了好多次,MySQL Server 5.7.20的安装状态都显示为Failed,安装失败

[图片上传失败...(image-ee342-1517280781927)]

MySQL installer详细日志如下:

1: Action 20:16:10: INSTALL.

1: 1: MySQL Server 5.7 2: {81B27388-3733-4B65-8D84-AD9C9113B498}

1: Action 20:16:10: FindRelatedProducts. Searching for related applications

1: Action 20:16:10: AppSearch. Searching for installed applications

1: Action 20:16:11: 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: {81B27388-3733-4B65-8D84-AD9C9113B498} 3: 3

1: The action 'Install' for product 'MySQL Server 5.7.20' failed.

    仔细查看日志,发现"This application requires Visual Studio 2013 Redistributable. Please install the Redistributable then run this installer again.",在安装过程中确实提示需要安装Microsoft Visual c++ 2013 Redistributable

[图片上传失败...(image-5290a3-1517280781927)]

   可是我已经按照提示安装了,在系统的程序和功能里面也能看到"Microsoft Visual c++ 2013 Redistributable(X64) - 12.0.30501"的安装信息

[图片上传失败...(image-c0b1b6-1517280781927)]

[图片上传失败...(image-762b2a-1517280781927)]

    但是日志里面还是提示需要安装Visual Studio 2013 Redistributable。无解,便试着搜索了一下,按照网上的提示升级安装了12.0.40660版本的Microsoft Visual c++ 2013 Redistributable,再安装MySQL Server 5.7.20,果然问题就解决了

[图片上传失败...(image-cc56c6-1517280781927)]

[图片上传失败...(image-8747c9-1517280781927)]

    暂时不知道是什么原因,可能是mysql-community-5.7.20.0版的bug吧。

    附上Microsoft Visual C++ 2013 Redistributable Package 12.0.40660的下载链接:

    来源: [https://support.microsoft.com/en-us/kb/3179560](https://link.jianshu.com?t=https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fkb%2F3179560)

x86:

http://download.microsoft.com/download/1/8/0/180FA2CE-506D-4032-AAD1-9D7636F85179/vcredist_x86.exe

x64:

http://download.microsoft.com/download/1/8/0/180FA2CE-506D-4032-AAD1-9D7636F85179/vcredist_x64.exe

作者:Steve的小酒馆
链接:https://www.jianshu.com/p/13c7c316c2bb
來源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。</pre>

相关文章

网友评论

      本文标题:MySQL5.7.20安装失败

      本文链接:https://www.haomeiwen.com/subject/gswqzxtx.html