当前位置:Gxlcms > 数据库问题 > 1045 access denied for user 'root'@'localhost' using password yes

1045 access denied for user 'root'@'localhost' using password yes

时间:2021-07-01 10:21:17 帮助过:3人阅读


在mysql命令行中执行

SET PASSWORD FOR ‘root‘@‘localhost‘ = PASSWORD(‘123456‘); 

GRANT ALL PRIVILEGES ON *.* TO ‘root‘ @‘%‘ IDENTIFIED BY ‘123456‘ WITH GRANT OPTION;

flush privileges;


本文出自 “12582428” 博客,请务必保留此出处http://12592428.blog.51cto.com/12582428/1906943

1045 access denied for user 'root'@'localhost' using password yes

标签:mysql

人气教程排行