问题:遇到mysql启动提示 access denied for user root@localhost(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)
原文地址:http://andylhx.blog.51cto.com/8891164/1760331