当前位置:Gxlcms > 数据库问题 > MySQL ERROR 1045 (28000): Access denied for user 'root'@'192.168.23.224' (using password: YES)

MySQL ERROR 1045 (28000): Access denied for user 'root'@'192.168.23.224' (using password: YES)

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

出现如题错误可能原因:

1、密码有误。检查密码是否与 mysql.user 中 root 用户对应密码一致(我就是这个原因,被折磨整个下午和晚上)

2、用户 root 没有授权,授权命令如下:

grant all on *.* to root@‘%‘ identified by ‘password‘;

flush privileges;

3、数据库端口被墙了。关闭防火墙或者添加端口特例

MySQL ERROR 1045 (28000): Access denied for user 'root'@'192.168.23.224' (using password: YES)

标签:using   user   就是   class   word   出现   roo   添加   ide   

人气教程排行