当前位置: 移动技术网 > IT编程>数据库>Mysql > MySQL出现Access denied for user ‘root’@’localhost’ (using password:YES)

MySQL出现Access denied for user ‘root’@’localhost’ (using password:YES)

2018年09月24日  | 移动技术网IT编程  | 我要评论

连接时mysql出现了下面的错误:

access denied for user ‘root’@’localhost’ (using password:yes)

解决的办法是先停止mysql服务,在my.ini文件的最下面加入一行:

skip-grant-tables

再启动mysql服务,就可以了。

 

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网