1045 Access denied for user 'root'@'localhost' (using password:YES)

解决方式

linux修改my.cnf,mysql修改my.ini
[mysqld]节点下,增加
skip-grant-tables
重启即可

你可能感兴趣的:(1045 Access denied for user 'root'@'localhost' (using password:YES))