本文地址:http://www.cnblogs.com/jying/p/7764147.html 轉載請注明出處。
安裝過程其實挺簡單,基本上下一步下一步,可以參考我的另一篇mysql安裝文章:http://www.cnblogs.com/jying/p/6820472.html
本文重點講解安裝過程中報錯 This application requires Visual Studio 2013 Redistributable. Please install the Redistributable then run this installer again. 的解決辦法,
錯誤信息大致如下:
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.

網上找答案,國內相關問題解答真是少的一筆,一堆鏈接全是國外站點,最終還是在程序員bug解決聖地 stackoverflow 找到解決方案。地址如下:
問題原因大體是mysql自動安裝的Visual C++ Redistributable 路徑不對或者即使是x64的mysql識別的也是x86的安裝路徑,所以解決方案是從微軟手動下載 Visual C++ 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 問題解決。
本文地址:http://www.cnblogs.com/jying/p/7764147.html 轉載請注明出處。
