进入mysql 执行命令
grant all privileges on *.* to ‘root‘@‘localhost‘ identified by ‘123465‘ with grant option;
进入mysql 执行命令
grant all privileges on *.* to ‘root‘@‘localhost‘ identified by ‘123465‘ with grant option;
Access denied for user 'root'@'localhost' (using password YES)
原文:https://www.cnblogs.com/xdcr/p/8566949.html