記一次Win10安裝MySQL Server 5.7.20失敗

問題情況

在Win10下使用mysql-installer-community-5.7.20.0的msi包進行安裝,試了好屢次,MySQL Server 5.7.20的安裝狀態都顯示爲Failed,安裝失敗。mysql

clipboard.png

MySQL installer詳細日誌以下:c++

1: Action 20:16:10: INSTALL.

1: 1: MySQL Server 5.7 2: {81B27388-3733-4B65-8D84-AD9C9113B498}

1: Action 20:16:10: FindRelatedProducts. Searching for related applications

1: Action 20:16:10: AppSearch. Searching for installed applications

1: Action 20:16:11: 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: {81B27388-3733-4B65-8D84-AD9C9113B498} 3: 3

1: The action 'Install' for product 'MySQL Server 5.7.20' failed.

仔細查看日誌,發現"This application requires Visual Studio 2013 Redistributable. Please install the Redistributable then run this installer again.",在安裝過程當中確實提示須要安裝Microsoft Visual c++ 2013 Redistributable。redis

clipboard.png

但是我已經按照提示安裝了,在系統的程序和功能裏面也能看到"Microsoft Visual c++ 2013 Redistributable(X64) - 12.0.30501"的安裝信息。sql

clipboard.png

可是日誌裏面仍是提示須要安裝Visual Studio 2013 Redistributable。app

解決辦法

試着搜索了一下,按照網上的提示升級安裝了12.0.40660版本的Microsoft Visual c++ 2013 Redistributable,再安裝MySQL Server 5.7.20,果真問題就解決了。ui

clipboard.png

clipboard.png

暫時不知道是什麼緣由,多是mysql-community-5.7.20.0版的bug吧。
附上Microsoft Visual C++ 2013 Redistributable Package 12.0.40660的下載連接:
來源: Microsoft Supportthis

x86:點擊下載lua

x64:點擊下載spa

相關文章
相關標籤/搜索