进入mysql 执行命令
grant all privileges on *.* to ‘root‘@‘localhost‘ identified by ‘123465‘ with grant option;
Posted 咸蛋超人
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Access denied for user 'root'@'localhost' (using password YES)相关的知识,希望对你有一定的参考价值。
进入mysql 执行命令
grant all privileges on *.* to ‘root‘@‘localhost‘ identified by ‘123465‘ with grant option;
以上是关于Access denied for user 'root'@'localhost' (using password YES)的主要内容,如果未能解决你的问题,请参考以下文章
ERROR 1045 (28000): Access denied for user ‘root‘@
MySql access denied for user错误
ERROR 1045 (28000): Access denied for user ‘roort‘
Mysql Access denied for user 'root'