WINDOWS ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using pas

 

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

 

Solution: https://jingyan.baidu.com/article/3ea51489e6cfbe52e61bba25.html

 

Note :

1. The modification must be the my.ini file not the my.default.ini file

2. The statement to reset the password of the mysql57 version is

update user set authentication_string=password("mypassword") where user="root";

instead of 

update user set password=password("mypassword")  where user="root";

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326098309&siteId=291194637