一. 錯誤信息
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.