安裝MySQL5.7由於 Redistributable導致失敗


今天上午安裝MySQL5.7時一直提示

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

 



提示要我安裝Visual Studio 2013 Redistributable,可我下載安裝64bit版本的Redistributable還是失敗,一時找不到原因,網上資料又少,很是頭疼

然后又安裝了32bit的Redistributable,再安裝MySQL5.7.20好了,原因是MySQL安裝包找不到64bit的Redistributable,解決方案是先安裝64bit的Redistributable,安裝MySQL,如果失敗在安裝32bit的Redistributable;
找到解決方案。地址如下:

  https://stackoverflow.com/questions/45163588/mysql-5-7-installer-fails-to-detect-vs-2013-redistributable/45165995

Redistributable簡體中文微軟官方下載路徑為:https://www.microsoft.com/zh-CN/download/details.aspx?id=40784 ,點擊下載按鈕並將vcredist_x64和vcredist_86都下載下來,

先安裝vcredist_x64后嘗試重新安裝mysql 5.7.20 ,假如依然報錯,然后安裝vcredist_x86后再次安裝mysql 問題解決。


免責聲明!

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



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