可能由于系统原因导致mysql5.7安装失败问题

时间:2024-03-31 21:09:14

关于mysql5.7 安装失败问题

报错信息大概是:
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.

相关图片
可能由于系统原因导致mysql5.7安装失败问题
报错信息的原因大概是因为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都下载下来,都进行安装后再次安装mysql 问题解决。