900字范文,内容丰富有趣,生活中的好帮手!
900字范文 > mysql启动提示 access denied for user root@localhost(using password:YES) 解决办法总结

mysql启动提示 access denied for user root@localhost(using password:YES) 解决办法总结

时间:2022-09-13 14:55:16

相关推荐

mysql启动提示 access denied for user root@localhost(using password:YES) 解决办法总结

首先计入到mysql的客户端命令行。

然后:

mysql>grant all privileges on *.* to 'root'@'localhost' identified by '你的密码' with grant option;

mysql>flush privileges;

执行完这两条命令之后就可以了。。。。。。

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。