MySQL安裝時MySQL server一直安裝失敗日誌顯示This application requires Visual Studio 2013 Redistributable

使用MySQL社區版的msi包進行安裝,試了好屢次,別的組件都能正常安裝,只有MySQL server的安裝狀態顯示爲fail。刪除全部安裝的程序,包括所依賴的各類Microsoft發佈的包,刪除全部的註冊表中有關MySQL的條目,刪除硬盤上全部有關MySQL的文件文件夾包括各類隱藏目錄下的文件。重啓,從新安裝,問題依舊,別的組件都能正常安裝。html

MySQL installer完整日誌:c++

 1: Action 20:31:00: INSTALL. app

1: 1: MySQL Server 5.7 2: {F08E9C75-A42E-4962-8760-4CBD9CF35D7A} 
1: Action 20:31:00: FindRelatedProducts. Searching for related applications
1: Action 20:31:00: AppSearch. Searching for installed applications
1: Action 20:31:00: 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.19' failed.
ui

 

查過不少資料都不行,最後偶然在一個微軟論壇看到一個評論,最終才解決。this

解決方法:lua

安裝MySQL server 5.7.19,用12.0.30501版本的Microsoft Visual c++ 2013 Redistributable(X64),MySQL server 組件安裝不成功,後升級爲12.0.40660版本的Microsoft Visual c++ 2013 Redistributable(X64)後,就能夠成功安裝了。日誌

原文出處:https://www.cnblogs.com/lifei66/p/10736412.htmlserver

相關文章
相關標籤/搜索