SQLSTATE[HY000] [1130] Host **** is not allowed to connect to this MySQL server
查看服务器安全组是否开启相应端口,查看防火墙状态,没问题的话 进入mysql:mysql -u帐号 -p密码 mysql> grant all privileges on *.* to'root'@'%'identifiedby '你的密码'; mysql> flush privileges; 之后就可以了 ...
原创
2019-05-21 12:05:05 ·
4000 阅读 ·
1 评论