解決mysql安裝報錯:無法啟動此程序,因為計算機丟失MSVCP120.dll


問題一:

因為裝的是新系統,所以遇到mysql啟動報錯:無法啟動此程序,因為計算機丟失MSVCP120.dll

 

 

后來參考這篇文章https://blog.csdn.net/huacode/article/details/79557871,完美的得到了解決,原來是電腦上缺乏Visual C++ Redistributable Packages for Visual Studio 2013,去微軟官網下載一個即可

 

問題二:

查詢報錯: You must reset your password using ALTER USER statement before executing this statement.

解決辦法:

alter user 'root'@'localhost' identified by '123456';
flush privileges;

 

 

 

參考文章

Mysql 安裝問題一:無法啟動此程序,因為計算機丟失MSVCP120.dll,MSVCR120.dll

mysql 報錯ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executin

 


免責聲明!

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



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