Windows安装MySQL5.7.20时出现的问题及解决方案

一. 错误信息

Action 10:59:21: INSTALL.
MySQL Server 5.7 2: {F08E9C75-A42E-4962-8760-4CBD9CF35D7A}
Action 10:59:21: FindRelatedProducts. Searching for related applications
Action 10:59:21: AppSearch. Searching for installed applications
Action 10:59:21: LaunchConditions. Evaluating launch conditions
This application requires Visual Studio 2013 Redistributable. Please install the Redistributable then run this installer again.
MySQL Server 5.7 2: {F08E9C75-A42E-4962-8760-4CBD9CF35D7A} 3: 3
The action 'Install' for product 'MySQL Server 5.7.20' failed.

二. 错误原因

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, 假如依然报错, 然后安装vcredist_x86后再次安装MySQL.

上一篇:【追梦少年】微信如何发广告


下一篇:js原生搜索框自动搜索