mysql启动提示 access denied for user root@localhost(using password:YES)

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql启动提示 access denied for user root@localhost(using password:YES)相关的知识,希望对你有一定的参考价值。

问题:遇到mysql启动提示 access denied for user [email protected](using password:YES) 

1、检查密码有无错误,如果无就是权限问题。

2、打开SQL的图形工具,输入以下命令行

grant all privileges on *.* to ‘root‘@‘localhost‘ identified by ‘你的密码‘ with grant option;
flush privileges;

3、在本地环境运行没有问题,如有异常,请留下评论,共同讨论

本文出自 “编程的点点滴滴” 博客,请务必保留此出处http://andylhx.blog.51cto.com/8891164/1760331

以上是关于mysql启动提示 access denied for user root@localhost(using password:YES)的主要内容,如果未能解决你的问题,请参考以下文章

mysql load本地文件失败,提示access denied

后台登陆失败,出现Access denied怎么办?

Navicat 创建数据库连接提示1045 access denied for user

用heidisql连接远程mysql数据库提示SQL错误1045,Access denied for...

mysql提示:1045 access denied for user'root'@'localhost' using password yes

Tomcat 启动出错了 access is denied