問題一:
因為裝的是新系統,所以遇到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