安装教程地址:https://www.jb51.net/article/105778.htm
今天上午安装MySQL5.7时一直提示
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.
提示要我安装Visual Studio 2013 Redistributable,可我下载安装64bit版本的Redistributable还是失败,一时找不到原因,网上资料又少,很是头疼 然后又安装了32bit的Redistributable,再安装MySQL5.7.20好了,原因是MySQL安装包找不到64bit的Redistributable,解决方案是先安装64bit的Redistributable,安装MySQL,如果失败在安装32bit的Redistributable; 找到解决方案。地址如下:
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 问题解决。