MySQL密码正确却无法本地登录-1045 Access denied for user 'root'@'localhost' (using password:YES MySQL密码正确却无法本地登录 报错如下: ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: YES) 解决方法: 1.在启动mysql的参数中加入跳过密码问题方式,如下: vim /etc/my.cnf(www.xcjl…