解决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