win10 安裝mysql 5.7.20 及報(bào)錯(cuò) This application requires Visual Studio 2013 Redistributable. Please ins...

參考教程:windows下安裝mysql

本文地址:http://www.cnblogs.com/jying/p/7764147.html 轉(zhuǎn)載請(qǐng)注明出處。

安裝過(guò)程其實(shí)挺簡(jiǎn)單,基本上下一步下一步,可以參考我的另一篇mysql安裝文章:http://www.cnblogs.com/jying/p/6820472.html

本文重點(diǎn)講解安裝過(guò)程中報(bào)錯(cuò) This application requires Visual Studio 2013 Redistributable. Please install the Redistributable then run this installer again. 的解決辦法,

錯(cuò)誤信息大致如下:

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.
image.png

網(wǎng)上找答案,國(guó)內(nèi)相關(guān)問(wèn)題解答真是少的一筆,一堆鏈接全是國(guó)外站點(diǎn),最終還是在程序員bug解決圣地 stackoverflow 找到解決方案。地址如下:

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

問(wèn)題原因大體是mysql自動(dòng)安裝的Visual C++ Redistributable 路徑不對(duì)或者即使是x64的mysql識(shí)別的也是x86的安裝路徑,所以解決方案是從微軟手動(dòng)下載 Visual C++ Redistributable安裝 ,簡(jiǎn)體中文微軟官方下載路徑為:https://www.microsoft.com/zh-CN/download/details.aspx?id=40784 ,點(diǎn)擊下載按鈕并將vcredist_x64和vcredist_86都下載下來(lái),先安裝vcredist_x64后嘗試重新安裝mysql 5.7.20 ,假如依然報(bào)錯(cuò),然后安裝vcredist_x86后再次安裝mysql 問(wèn)題解決。

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

友情鏈接更多精彩內(nèi)容