MySQL Shell 无法安装

2021.10.26

安装MySQL时发现没有安装Shell,于是就正常点击MySQL Installer ,add shell,可是却无法安装(下载正常)

检查报错

1: Action 19:35:11: INSTALL. 
1: 1: MySQL Shell 8.0.27 2: {39ED59FC-9818-4FA0-9474-DD64321DA186} 
1: Action 19:35:11: FindRelatedProducts. Searching for related applications
1: Action 19:35:11: AppSearch. Searching for installed applications
1: Action 19:35:11: LaunchConditions. Evaluating launch conditions
1: This application requires Visual Studio 2019 Redistributable. Please install the Redistributable then run this installer again.
1: 1: MySQL Shell 8.0.27 2: {39ED59FC-9818-4FA0-9474-DD64321DA186} 3: 3 
1: The action 'Install' for product 'MySQL Shell 8.0.27' failed.

这里退出所有MySQL其他程序之后,才发现是缺少Visual Studio 2019 Redistributable

解决办法:

点击微软官网

Visual Studio:---点击这里---
MySQL Shell 无法安装

 点击最后的其他工具(Other Tools and Frameworks

按需求下载Microsoft Visual C++ Redistributable for Visual Studio 2019

重启电脑,再打开MySQL Installer安装就好啦。(我没重启就安装好了)

MySQL Shell 无法安装

记录一下,希望对大家有帮助。

PS:不用再安装Visual Studio就可以,我还把Visual Studio又重新安装了,唉。

上一篇:Visual Studio Code(VSCODE)中配置php xdebug


下一篇:Linux常用命令在Ubuntu 16下(个人笔记)