ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

时间:2020-12-08 19:19:42

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

问题:

 

 

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

 

解决方法: 

进入MySQL\data文件夹找到*.err文件,并打开,找到临时密码,输入即可

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)