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


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

MySQL installer完整日志:

 1: Action 20:31:00: INSTALL. 

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.

 

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

解決方法:

安裝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)后,就可以成功安裝了。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM